Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch open_basedir globally disabled by default?

Discussion in 'Beta release code' started by GamerJota, Feb 24, 2018.

Tags:
  1. GamerJota

    GamerJota Member

    51
    7
    8
    Mar 1, 2016
    Chile
    Ratings:
    +18
    Local Time:
    4:02 AM
    As the title says, does the latest centminmod beta version comes with open_basedir globally disabled by default?

    Mine was commented out during a fresh install a few minutes ago.

    Code:
    /usr/local/nginx/conf/php.conf
    Code:
    #fastcgi_param PHP_ADMIN_VALUE open_basedir=$document_root/:/usr/local/lib/php/:/tmp/;
     
  2. GamerJota

    GamerJota Member

    51
    7
    8
    Mar 1, 2016
    Chile
    Ratings:
    +18
    Local Time:
    4:02 AM
  3. eva2000

    eva2000 Administrator Staff Member

    35,088
    7,745
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,944
    Local Time:
    5:02 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    It's disabled by default right now, it had a history of switching between enabled and then disabled as it caused more problems then it's worth heh
     
    • Agree Agree x 1
  4. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    10:02 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    If we just switch it on and leave it?

    It seems a few platforms need that ......

    It will be hard to revert it back or it will have functionality issues?

    Thank you
     
  5. rdan

    rdan Premium Member Premium Member

    4,227
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    3:02 PM
    Mainline
    10.2
    Mostly.
     
  6. eva2000

    eva2000 Administrator Staff Member

    35,088
    7,745
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,944
    Local Time:
    5:02 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    it will have issues if scripts require those functions so best way to combat that is have multiple php-fpm pools and customise that pools disable php functions just for that specific app/vhost
     
..