Php.ini: Local Value vs Master Value (safe_mode, specifically)

Posted by Philipp Lenssen on Server Fault See other posts from Server Fault or by Philipp Lenssen
Published on 2009-10-29T13:57:00Z Indexed on 2010/03/16 14:51 UTC
Read the original article Hit count: 514

Filed under:

I can change php.ini values on my Apache and restart to see them in effect via a script showing php_info(). However, one setting is causing problems: safe_mode. I set it to "off" in php.ini but php_info() still shows it as

Local value: On
Master value: Off

How can I find out which local value is overriding the master value? There's no htaccess directive of that kind in the httpdocs folder in question...

(I already downloaded all files php_info() claims to be additional .ini files parsed, but safe_mode is not set in them.)

© Server Fault or respective owner

Related posts about php.ini