Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm on shared hosting and I'm trying to set up the memcached.so module to be used for php. Obviously I'm not able to put the .so file in /usr/lib64/php/modules so for my extension_dir value in my version of the php.ini (/home2/my_site/public_html/php.ini)I have:

extension_dir = "/usr/lib64/php/modules:/home2/my_site/apps/lib/php"

and at the bottom of the php.ini file I have

extension=memcache.so

However, the memcache module still isn't showing up in php_info(). Any suggestions on getting this working? Thanks.

share|improve this question
    
Stupid question, but has the apache instance been restarted? (or PHP CGI if compiled like that) If so, what are the errors in apache logs? –  Pierre-Yves Jul 8 '10 at 10:25
add comment

1 Answer 1

I think you have to restart apache server to take its effect.

/etc/init.d/apachectl restart
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.