Learn about Centmin Mod LEMP Stack today
Become a Member

PHP-FPM PHP custom config does not keep my changes

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by hellenic, May 6, 2019.

  1. hellenic

    hellenic New Member

    19
    4
    3
    Mar 4, 2019
    Ratings:
    +5
    Local Time:
    8:29 PM
    1.15.9
    10.1.38
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.15.3
    • PHP Version Installed: 7.3.5
    • MariaDB MySQL Version Installed: 10.3.14
    • When was last time updated Centmin Mod code base ? : just now
    Hello
    I would like to keep my change in this file:
    /usr/local/lib/php.ini
    ------------------------------------
    FIND
    ;cgi.fix_pathinfo=1
    REPLACE WITH
    cgi.fix_pathinfo=0
    ------------------------------------

    by adding the cgi.fix_pathinfo=0 at:
    /etc/centminmod/php.d/a_customphp.ini

    but after rebuilding it doesn't work. It goes back to the default.
    Am i doing something wrong?

    Thank you.
     
  2. eva2000

    eva2000 Administrator Staff Member

    39,758
    8,769
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,494
    Local Time:
    3:29 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Informative Informative x 1
  3. hellenic

    hellenic New Member

    19
    4
    3
    Mar 4, 2019
    Ratings:
    +5
    Local Time:
    8:29 PM
    1.15.9
    10.1.38
    Thank you very much for the quick answer!
     
..