Is there any way to change safe_mode from 'on' to 'off' with htaccess file? If so, please explain how to do it. I know how to change other php.ini settings with htaccess, I just can't seem to change the safe_mode configuration.

I do not have root access to the server and cannot change the php.ini file or httpd.conf file.

I'm using the following code in the .htaccess file:
php_flag safe_mode off

thank you.

    So basically you're saying that safe_mod can not be changed through the .htaccess file.

      yes.

      i just thought it would be better to show you how to find the answer next time.

      what is the reason you need safe mode off? i know its a pain and dont like it either, but sometimes there are workarounds.

      other than that, maybe find a new host. there are hosts which will let you have your own php.ini file, even budget hosts.

        Write a Reply...