Hi,
Both problems can be solved with php directives in httpd.conf or in 
.htaccess. 
You can just put php_value safe_mode "off" or php_value engine "off" 
into <Directory> definitions in httpd.conf to restrict only for some 
directories or into <Virtual> for virtual servers.
(Of course in htaccsess you can only restrict for directories)
        Arpi

1.
> Can I add php_admin_flag safe_mode off to the httpd.conf file 
to
> turn safe mode off for just one site. And leave it on for the rest
> of the server. According to the manual this can be done but when I
> try it. It does not work. Is there something else I have to do to
> make this work properly.
>

2.
>Is there a way to restrict PHP to certain directories, so that it can
>only be used by files within those directories?
[...]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to