Re: disable safe_mode with .htaccess ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



By the looks of things you can't. 

safe_mode changability is set to PHP_INI_SYSTEM

You may be able to put a <Directory ...> type setting into the
httpd.conf file, and have apache re-read its config file by sending it
a USR1 signal.

As it is a production server you may want to test this on a dev server first:

On 9/5/05, Wong HoWang <howanghk@xxxxxxxxx> wrote:
> Hello everyone,
> 
> I have a special question and want to ask here, hope anyone can answer me.
> 
> My server is Apache/1.3.33 with PHP/4.3.10
> I have AllowOverride All in my httpd.conf and safe_mode = On in php.ini , I
> want to turn off safe_mode in one folder by .htaccess , is it possiable? I
> don't want to make changes to my httpd.conf or php.ini because that is a
> productive server and shouldn't restart it.
> 
> Please help, thank you!
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux