On 03/18/2010 02:52 AM, Matt Harlum wrote:
Hi,
Try Preceding the configpath line with
suPHP_Engine On
Thanks - it made no difference. The safe mode was still on.
I tried it both at <virtualhost> level, and inside <directory> level..
-turgut
Regards,
--Matt
rOn 18/03/2010, at 1:32 AM, turgut kalfaoğlu wrote:
On a Plesk Centos 4.8, with php 5.2.13, there are some hosts that need
the safe_mode = off , but I'd like the vast majority to be on, just so
that I can stop the vast majority from wandering around on the disk,
reading files belonging to others -- a cgi-telnet php program can do
this.
In httpd.conf I have:
LoadModule suphp_module /usr/lib/httpd/modules/mod_suphp.so
suPHP_Engine on
suPHP_ConfigPath /etc
It seems that the php.ini is read from /etc without problems now..
Then I would like to use some site-specific php.ini files, for sites
that need to have the safe_mode off..
When I put the following into httpd.include and restart the server,
<Virtualhost blah.com <http://blah.com>>
suPHP_ConfigPath /etc/notsafe
.. the alternate INI file is not read, the default one is still used.
Both etc and notsafe are 755 and the notsafe dir contains php.ini
that's -rw-r--r--
Any ideas what to do?
Thanks! -turgut
_______________________________________________
suPHP mailing list
[email protected] <mailto:[email protected]>
https://lists.marsching.com/mailman/listinfo/suphp
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp