LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   [Help] Install memcached (http://www.litespeedtech.com/support/forum/showthread.php?t=5567)

cloud 12-19-2011 06:33 PM

[Help] Install memcached
 
Hello!

I try install memcached many times follow this tut http://www.wowtutorial.org/tutorial/64.html , but after install I don't see memcached extension in phpinfo (like picture bellow)

http://www.wowtutorial.org/files/u2/memcache.jpg

Is Anyone has installed this extension :confused:
Please help me.

webizen 12-19-2011 06:58 PM

you need to build extension from source along with phpize from lsphp5 (i.e. /usr/local/lsws/lsphp5/bin/phpize)

Quote:

download source
tar zxf memcache-xxx.tgz
cd memcache-xxx
/usr/local/lsws/lsphp5/bin/phpize && ./configure --enable-memcache --with-php-config=/usr/local/lsws/lsphp5/bin/php-config && make && make install
add line "extension=memcache.so" in to php.ini used by lsphp5
restart lsws to pick it up.

cloud 12-19-2011 07:12 PM

last time i installed ioncube. I edit file php.ini in /usr/lib/php.ini
now I also do with memcache.

It's right or i must add line "extension=memcache.so" in /usr/local/lsws/lsphp5/bin/phpize

webizen 12-19-2011 07:14 PM

add "extension=memcache.so" to /usr/lib/php.ini NOT /usr/local/lsws/lsphp5/bin/phpize

cloud 12-19-2011 09:22 PM

Quote:

Originally Posted by webizen (Post 31167)
add "extension=memcache.so" to /usr/lib/php.ini NOT /usr/local/lsws/lsphp5/bin/phpize

Ye! I did like that but it did not work :(

webizen 12-20-2011 10:46 AM

check the path of extension_dir in php.ini. it needs to match with the path of memcache.so installed.


All times are GMT -7. The time now is 12:42 AM.