Join the community today
Register Now

Upgrade Notices on restart of php after 7.1.0 upgrade.

Discussion in 'Install & Upgrades or Pre-Install Questions' started by BamaStangGuy, Dec 2, 2016.

  1. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    1:03 AM
    I am getting these notices. After the PHP upgrade was complete I also ran 10. Didn't seem to change anything.
    Code:
    Starting php-fpm [02-Dec-2016 07:57:53] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [02-Dec-2016 07:57:53] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/mailparse.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [02-Dec-2016 07:57:53] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [02-Dec-2016 07:57:53] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
     done


     
  2. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    4:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centmin mod 123.09beta01 or 123.08stable ? did you update to latest code via centmin.sh menu option 23 submenu option 2 before updating to PHP 7.1.0 ? 123.09beta01 has better php 7+ support

    To troubleshoot, you need to check the the php upgrade log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues

    Also post output for the following

    Code (Text):
    php -v
    php --ini
    php --ri 'Zend Opcache'
    ls -lah /usr/local/bin/php
    


    Code (Text):
    ls -lah $(cat /usr/local/bin/php-config | awk '/^extension_dir/ {extdir=$1} END {gsub(/\047|extension_dir|=|)/,"",extdir); print extdir}')


    If you type this command it lists all logs in date ascending order so latest log at bottom
    Code (Text):
    ls -lArt /root/centminlogs

    so copy the entire contents of latest nginx_upgrade log to gist.github.com or pastebin.com

    you can use grep to filter the logs, i.e. look for nginx_upgrade or php in log name and in this case also for memcached_reinstall name as you ran centmin.sh menu option 10 so it has it's own log
    Code (Text):
    ls -lahrt /root/centminlogs/ | egrep 'nginx_upgrade|php_upgrade|memcached_reinstall'
    

    Code (Text):
    -rw-r--r--   1 root root 1.2M Oct 16 08:54 centminmod_1.2.3-eva2000.09.001_161016-083123_php_upgrade.log
    -rw-r--r--   1 root root 123K Nov  2 21:48 centminmod_1.2.3-eva2000.09.001_021116-214519_memcached_reinstall.log
    -rw-r--r--   1 root root 1.6M Nov 16 18:43 centminmod_1.2.3-eva2000.09.001_161116-183010_nginx_upgrade.log
    

    So the last php upgrade log was named centminmod_1.2.3-eva2000.09.001_161016-083123_php_upgrade.log and located at /root/centminlogs/centminmod_1.2.3-eva2000.09.001_161016-083123_php_upgrade.log
    then use cat command to output the contents of that log. Do the same for memcached_reinstall log.

    clear your ssh window buffer/screen and type for php upgrade log and later for memcached_reinstall
    Code (Text):
    cat /root/centminlogs/centminmod_1.2.3-eva2000.09.001_161016-083123_php_upgrade.log

    then select and copy and paste output to pastebin.com or gist.github.com file to share. If your SSH client's scroll buffer isn't large enough using cat might not output the entire log file contents, so you may need to download the log and use local text editor to open and copy and paste.

    so only need content of 2 specific logs, in this case most recent php_upgrade.log and memcached_reinstall logs
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +837
    Local Time:
    9:03 AM
    Nginx-1.26.x
    MariaDB 10.6.x
    I got the same errors also when i upgrade from 5.6.x to latest 7.0.x during installation but the upgrade script take care of them and install them and at the end of upgrade all was ok and that errors gone.....
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    4:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yes that is what should happen on major php upgrades :)

    it may not happen if you didn't update centmin mod branch before php 7.1 update as outlined at Centmin Mod Updated Support PHP 7.1.0 GA Release | Centmin Mod Community as if you did not update first, what happens if 7.1.0 version number prior to update ties to github php dev branch which is now php 7.2.0-dev so some php extensions are not supported by php 7.2.0-dev so may fail.
     
  5. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    1:03 AM
    I decided to give Beta a try and everything went smoothly.
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,237
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,833
    Local Time:
    4:03 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    ah so you were on 123.08stable prior ? might explain it as some php extensions for php 7 support are improved in 123.09beta01 :)
     
  7. BamaStangGuy

    BamaStangGuy Active Member

    668
    192
    43
    May 25, 2014
    Ratings:
    +272
    Local Time:
    1:03 AM
    Yea. It seems it is pretty solid by now.
     
  8. eva2000

    eva2000 Administrator Staff Member

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