Join the community today
Become a Member

PHP-FPM Update to php7 Centminmod recommend me to delte a file that doesn't exist

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

  1. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    6:30 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi :)

    Today i give php7 a try :)

    All was ok and no issues.....

    I just notice at the end this Centminmod recommendation:

    Code:
    rm -rf /etc/centminmod/php.d/igbinary.ini
    #rm -rf /etc/centminmod/php.d/imagick.ini
    #rm -rf /etc/centminmod/php.d/memcache.ini
    #rm -rf /etc/centminmod/php.d/mongodb.ini
    #rm -rf /etc/centminmod/php.d/redis.ini
    rm -rf /etc/centminmod/php.d/suhosin.ini
    So i navigate to the folder and there i was able to find the igbinary.ini but not the suhosin.ini

    So maybe Centminmod needs a fix there to proper detect it?

    Also when phpfpm restarted during setup i was getting this:

    Code:
    Starting php-fpm [11-Sep-2016 01:16:23] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/geoip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    [11-Sep-2016 01:16:23] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/mailparse.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Thanks :)
     
    • Informative Informative x 1
  2. eva2000

    eva2000 Administrator Staff Member

    30,175
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    1:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    For mailparse and geoip, which version of PHP 7.0.10 or 7.1.0RC1 ? got the php upgrade log from /root/centminlogs ? post contents of log to pastebin.com or gist.github.com

    rm -rf command removes without any error messages, so if file doesn't exist, it just does nothing.
     
  3. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    6:30 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    PHP 7.0.10

    I didn't say that i got any errors for this.....just the centminmod recommend me to delete a file that was not in place:

    rm -rf /etc/centminmod/php.d/suhosin.ini

    So if i understand correct how it works it should output:

    Code:
    rm -rf /etc/centminmod/php.d/igbinary.ini
    #rm -rf /etc/centminmod/php.d/imagick.ini
    #rm -rf /etc/centminmod/php.d/memcache.ini
    #rm -rf /etc/centminmod/php.d/mongodb.ini
    #rm -rf /etc/centminmod/php.d/redis.ini
    #rm -rf /etc/centminmod/php.d/suhosin.ini
    Is it dangerous to auto removed by Centminmod and not prompt at all?
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,175
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    1:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    should be fine with copy and paste instructions
     
  5. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    6:30 PM
    Nginx-1.13.x
    MariaDB 10.1.x
  6. eva2000

    eva2000 Administrator Staff Member

    30,175
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    1:30 AM
    Nginx 1.13.x
    MariaDB 5.5
    ending output for below suggests all compiled fine so ok :)
    Code (Text):
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done

    i updated 123.09beta01 to revise the .ini file removals when php 7.0 or 7.1 is detected as well :)
     
    • Winner Winner x 1