Join the community today
Register Now

PHP-FPM PHP Startup: memcached: Unable to initialize module

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Bubbles, Sep 12, 2015.

Tags:
  1. Bubbles

    Bubbles New Member

    18
    2
    3
    Mar 1, 2015
    Ratings:
    +2
    Local Time:
    6:46 PM
    Getting this error on attempting to restart php-fpm. Any ideas? Looking to update to php7 whilst i'm at it.

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/apc.so: cannot o
    pen shared object file: No such file or directory in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/igbinary.so
    : cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/imagick.so:
    cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning: PHP Startup: memcache: Unable to initialize module
    Module compiled with module API=20121212
    PHP compiled with module API=20131226
    These options need to match
    in Unknown on line 0
    PHP Warning: PHP Startup: memcached: Unable to initialize module
    Module compiled with module API=20121212
    PHP compiled with module API=20131226
    These options need to match
    in Unknown on line 0
    PHP 5.6.12 (cli) (built: Aug 28 2015 21:17:23)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    6:46 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  3. Bubbles

    Bubbles New Member

    18
    2
    3
    Mar 1, 2015
    Ratings:
    +2
    Local Time:
    6:46 PM
  4. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    6:46 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    what about simple php-fpm restart ?

    what version number did you specify on centmin.sh menu option 5 prompt ? 7.0.0RC2 ?

    you can find the php upgrade log at /root/centminlogs

    list and sort by date descending order the files
    Code:
    ls -lart /root/centminlogs
    then post contents of php upgrade log to pastebin.com or gist.github.com so we can see too
     
  5. Bubbles

    Bubbles New Member

    18
    2
    3
    Mar 1, 2015
    Ratings:
    +2
    Local Time:
    6:46 PM
    Do you want to run YUM install checks ? [y/n] This will increase your upgr - Pastebin.com
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    6:46 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    there's the problem, you entered

    Code:
    7.0.0T RC2
    instead of
    Code:
    7.0.0RC2
    so download wasn't made
    Code:
    No Packages marked for removal
    --2015-09-11 22:06:46--  http://php.net/get/php-7.0.0RC2.tar.gz/from/this/mirror
    Resolving php.net... 72.52.91.14, 2a02:cb41::7
    Connecting to php.net|72.52.91.14|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2015-09-11 22:06:46 ERROR 404: Not Found.
    tar (child): php-7.0.0RC2.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    inc/php_upgrade.inc: line 180: cd: php-7.0.0RC2: No such file or directory
     
  7. Bubbles

    Bubbles New Member

    18
    2
    3
    Mar 1, 2015
    Ratings:
    +2
    Local Time:
    6:46 PM
    Do you want to run YUM install checks ? [y/n] This will increase your upgr - Pastebin.com
     
  8. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    6:46 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah seems not getting the custom download url location for PHP 7.0.0RCs

    Code:
    --2015-09-11 22:39:36--  http://php.net/get/php-7.0.0RC2.tar.gz/from/this/mirror
    Resolving php.net... 72.52.91.14, 2a02:cb41::7
    Connecting to php.net|72.52.91.14|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2015-09-11 22:39:36 ERROR 404: Not Found.
    tar (child): php-7.0.0RC2.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    inc/php_upgrade.inc: line 180: cd: php-7.0.0RC2: No such file or directory
    only Centmin Mod 1.2.3-eva2000.08 stable and higher support PHP 7 via centmin.sh menu option 5. If you use an earlier version of Centmin Mod like .07 you won't be able to use PHP 7. To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  9. Bubbles

    Bubbles New Member

    18
    2
    3
    Mar 1, 2015
    Ratings:
    +2
    Local Time:
    6:46 PM
    That did it, whilst i'm at it, how can i setup pagespeed? I've attempted to set it up multiple times and nothing has worked.
     
  10. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    6:46 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+