LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [Help] Install memcached

Reply
 
Thread Tools Display Modes
  #1  
Old 12-19-2011, 06:33 PM
cloud cloud is offline
New Member
 
Join Date: Dec 2011
Posts: 3
Default [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)



Is Anyone has installed this extension
Please help me.
Reply With Quote
  #2  
Old 12-19-2011, 06:58 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
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.
Reply With Quote
  #3  
Old 12-19-2011, 07:12 PM
cloud cloud is offline
New Member
 
Join Date: Dec 2011
Posts: 3
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
Reply With Quote
  #4  
Old 12-19-2011, 07:14 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
add "extension=memcache.so" to /usr/lib/php.ini NOT /usr/local/lsws/lsphp5/bin/phpize
Reply With Quote
  #5  
Old 12-19-2011, 09:22 PM
cloud cloud is offline
New Member
 
Join Date: Dec 2011
Posts: 3
Quote:
Originally Posted by webizen View Post
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
Reply With Quote
  #6  
Old 12-20-2011, 10:46 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
check the path of extension_dir in php.ini. it needs to match with the path of memcache.so installed.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:06 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.