Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Oct 2010
    Posts
    34

    Default php not picking up memcache.so

    I've compiled the pecl memcache extension using

    Code:
    cd /usr/src
    wget http://pecl.php.net/get/memcache-2.2.6.tgz
    tar zxvf memcache-2.2.6.tgz
    cd memcache-2.2.6
    phpize
    ./configure
    make
    make install
    which installs the extension to /usr/lib/php/extensions/no-debug-non-zts-20090626/memcache.so

    I then added 'extension = memcache.so' to /usr/local/lib/php.ini and restarted httpd.

    When I access a phpinfo.php (interpreted by suphp), the extension doesn't come. If I try do a php -i | grep memcache, it also doesn't show as loaded.

    I can't seem to find any related errors in any syslogs.

  2. #2
    Member
    Join Date
    Oct 2010
    Posts
    34

    Default Re: php not picking up memcache.so

    problem fixed.

    The correct path for the extension is /usr/local/lib/php/extensions/no-debug-non-zts-20090626 , not [/usr/lib/php/extensions/no-debug-non-zts-20090626

    Any idea why there are two directories for this?

Similar Threads & Tags
Similar threads

  1. EasyApache + memcache
    By t9clkclnr in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 01-01-2012, 06:06 AM
  2. memcache install
    By devilsreject in forum New User Questions
    Replies: 4
    Last Post: 01-12-2011, 11:16 AM
  3. EasyApache v3.2.0 not picking up previous MySQL config
    By carlaron in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-16-2007, 09:11 AM
  4. Spam Filter picking up nobody messages.
    By picoleto in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-28-2007, 01:28 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube