Get the most out of your Centmin Mod LEMP stack
Become a Member

Starting php-fpm Failed loading extension

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

  1. pamamolf

    pamamolf Well-Known Member

    2,487
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:20 AM
    Nginx-1.13.x
    MariaDB 10.1.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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    reinstall those php extensions i.e. ioncube and newrelic the same way you installed them the first time.
     
  3. pamamolf

    pamamolf Well-Known Member

    2,487
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:20 AM
    Nginx-1.13.x
    MariaDB 10.1.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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:20 AM
    Nginx 1.13.x
    MariaDB 5.5
    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 Well-Known Member

    2,487
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:20 AM
    Nginx-1.13.x
    MariaDB 10.1.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 Well-Known Member

    2,487
    229
    63
    May 31, 2014
    Ratings:
    +390
    Local Time:
    4:20 AM
    Nginx-1.13.x
    MariaDB 10.1.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

    28,942
    6,570
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,751
    Local Time:
    11:20 AM
    Nginx 1.13.x
    MariaDB 5.5