Learn about Centmin Mod LEMP Stack today
Register Now

Starting php-fpm Failed loading extension

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Nov 10, 2016.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:20 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Hello :)


    After upgrading to latest php 7.0.12 i got this and php was not loading :(

    Code:
    Starting php-fpm Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so: cannot open shared object file: No such file or directory
    [09-Nov-2016 22:24:10] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/newrelic.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/newrelic.so: cannot open shared object file: No such file or directory in Unknown on line 0
     done
    Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so:  /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ioncube.so: cannot open shared object file: No such file or directory
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/newrelic.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/newrelic.so: cannot open shared object file: No such file or directory

    Any ideas how can i fix it?

    As i was set to custom config the ioncube to yes ....

    THANKS
     
    Last edited: Nov 10, 2016
  2. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    reinstall those php extensions i.e. ioncube and newrelic the same way you installed them the first time.
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:20 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    For newrelic ok but for ioncube i was never install it manual.....

    I was use the custom config and it was take care of it and also was ok when i upgrade php .....
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    which centmin mod branch 123.08stable or 123.09beta01 ? which php version upgrade from ? contents of persistent config file /etc/centminmod/custom_config.inc ?
    output for this command
    Code (Text):
    cat /etc/centminmod/custom_config.inc
     
  5. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:20 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    123.09beta01

    from 5.6.27 to 7.0.12

    Code:
    NSD_INSTALL='n'
    NGINX_SUB='n'
    NGINX_ADDITION='n'
    NGINX_IMAGEFILTER='n'
    NGINX_HTTPCONCAT='n'
    NGINX_PAGESPEED='n'
    NGINX_HTTPREDIS='n'
    PHPREDIS='n'
    PHPIONCUBE='y'
    I know a few of them are from default set to n but i just keep them there :)
     
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    8:20 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    Don't know if the latest changes that we did last time cause that issue .... ?

    Or maybe broken links ?
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,239
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    3:20 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+