Safe Mode On Locally - Off 'Master Value' WTH?


I wanted to disable safe mode. I noticed the php.ini has safe mode to off. The php.ini that is in /etc

So how in the world is safe mode still active? We have issues where when users download a file whose user id <> the user_id of the file. So we wanted safe mode off so this garbage is no longer taking place.

How does safe mode work ‘locally’ but not ‘master’ ?

PHP info shows:


IF php.ini shows it as off, where is the rogue command activating ‘safe mode’ ‘locally’ ?


PHP is probably running as an Apache module which means some of the php.ini settings can be overruled by a .htaccess file. Look for one in the document root or in the directory that holds your PHP scripts.
More info: