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>
   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]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to