Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    694
    Likes Received:
    15
    Trophy Points:
    68
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,878
    Likes Received:
    89
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TerranceR

    TerranceR Well-Known Member

    Joined:
    Jul 9, 2015
    Messages:
    74
    Likes Received:
    10
    Trophy Points:
    83
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice