The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Memcache.so Not Found In

Discussion in 'EasyApache' started by postcd, Jul 30, 2015.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    623
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    i want to ask for Your advice on this.

    I believe i ticked memcache in EasyApache and it is installed now.

    # httpd -M | grep mem
    mem_cache_module (static)

    # locate memcache.so | grep -v virtfs
    /usr/local/lib/php.bak/extensions/no-debug-non-zts-20090626/memcache.so
    /usr/local/lib/php.cpgeoff/extensions/no-debug-non-zts-20090626/memcache.so

    # find /usr/lib/php/extensions/ -type f
    /usr/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.a
    /usr/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
    /usr/lib/php/extensions/no-debug-non-zts-20090626/pdo.a
    /usr/lib/php/extensions/no-debug-non-zts-20090626/sqlite.a
    /usr/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.a
    /usr/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
    /usr/lib/php/extensions/no-debug-non-zts-20090626/pdo.so
    /usr/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so

    # find /usr/local/lib/php/extensions -type f
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ixed.5.4.lin
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_mysql.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525/xcache.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_sqlite.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ixed.5.3.lin
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/xcache.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so

    My global PHP error log is full of errors like this:
    [Thu Jul 30 12:45:37 2015] [error] [client ***] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Jul 30 12:45:37 2015] [error] [client ***] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [Thu Jul 30 12:45:39 2015] [error] [client ***] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0

    so i want to ask why memcache.so is not there, how i can add it please? Thank you
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. cPTerrance

    cPTerrance *nix Technical Analyst II / Migrations Specialist
    Staff Member

    Joined:
    Jul 9, 2015
    Messages:
    72
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You should be able to install memcached without having to compile it (in the above link given) via "yum install memcached" after you install memcached I would try running EasyApache again to recompile PHP's memcache module.
     
Loading...

Share This Page