PHP SafeMode

Fraser Campbell fraser-eicrhRFjby5dCsDujFhwbypxlwaOVQ5f at public.gmane.org
Mon Apr 19 10:18:31 UTC 2004


On Sunday 18 April 2004 20:42, Ilya Palagin wrote:

> > Pasting something similar to the following into your apache config might
> > do the trick, otherwise not sure:
> >
> >     php_value safe_mode 0
> >
> > I would put it within the appropriate virtualhost config.  Let us know
> > how it works out.
>
> It didn't work for me in RH-7.3, php.ini files in virtual hosts were
> just ignored. But a "real" /etc/php.ini had done the job.

It's not a php.ini file, it's setting an individual php value within a 
specific config section; which works fine.  I do this all the time with 
things like:

                php_value mysql.default_user somedb
                php_value mysql.default_password somepass
                php_value mysql.default_host somehost

Are you saying that overriding php safe_mode in specific hosts did not work or 
just that you've tried setting php values within the apache config and it did 
not work?  If you cannot set php values within the apache config then 
something is very strange with php on Redhat 7.3.

-- 
Fraser Campbell <fraser-Txk5XLRqZ6CsTnJN9+BGXg=@public.gmane.org>                 http://www.wehave.net/
Georgetown, Ontario, Canada                               Debian GNU/Linux
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list