Want to subscribe to topics you're interested in?
Become a Member

PHP-FPM Upgrade from latest 5.6.x to 7.0.x error

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

  1. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    4:03 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I just try to update and i got this:

    Code:
    service php-fpm restart
    Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
    Starting php-fpm [28-Aug-2016 17:14:20] ERROR: [/usr/local/etc/php-fpm.conf:4] unknown entry '#log_level'
    [28-Aug-2016 17:14:20] ERROR: failed to load configuration file '/usr/local/etc/php-fpm.conf'
    [28-Aug-2016 17:14:20] ERROR: FPM initialization failed
    failed
    7.0
    0
    At line for i have:

    Code:
    #log_level = warning
    don't know why a commented parameter has issues .....

    Anyway i remove it and now i am getting this:

    Code:
    Starting php-fpm [28-Aug-2016 17:17:38] ERROR: [/usr/local/etc/php-fpm.conf:71] unknown entry '#pm'
    I have only 55 lines on the file so don't know why it says line 71 error.....
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,166
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    11:03 AM
    Nginx 1.13.x
    MariaDB 5.5
    php-fpm.conf uses semi-colon ; for comments not # hash so looks like you edited those values in php-fpm.conf incorrectly
     
  3. pamamolf

    pamamolf Well-Known Member

    2,723
    242
    63
    May 31, 2014
    Ratings:
    +433
    Local Time:
    4:03 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Don't know how it works before but now i remove the # lines and phpfpm start :)

    Site is down after upgrade and i have to find out why :) Doesn't like php 7?

    from logs:
    Code:
    PHP message: PHP Fatal error:  Redefinition of parameter $topics in /home/nginx/domains/domain.com/public/cache/skin_cache/cacheid_71/
    Looks like a skin issue so i revert to 5.6.x :)
     
    Last edited: Aug 29, 2016
  4. eva2000

    eva2000 Administrator Staff Member

    30,166
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    11:03 AM
    Nginx 1.13.x
    MariaDB 5.5
    sounds like web app script isn't 100% PHP7 supported, contact web app script developers ;)
     
    • Informative Informative x 1