You are here: Re: [PHP] disable safe_mode with .htaccess ? « PHP « IT news, forums, messages
Re: [PHP] disable safe_mode with .htaccess ?

Posted by Rory Browne on 09/05/05 21:27

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@gmail.com> 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
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация