[PHP] php configs in the apache config file?

2002-03-30 Thread Robert Montgomery
Supposedly, in your apache httpd.conf file you can specify php config values. I'm trying to shore up security on a new box by setting the following within VirtualHost tags: php_value open_basedir /path/to/virtualhost/ However, it doesnt work. If I set the values in the php.ini file, it DOES

Re: [PHP] php configs in the apache config file?

2002-03-30 Thread bvr
It doesn't work with CGI installations of PHP. bvr. Robert Montgomery wrote: Supposedly, in your apache httpd.conf file you can specify php config values. I'm trying to shore up security on a new box by setting the following within VirtualHost tags: php_value open_basedir

Re: [PHP] php configs in the apache config file?

2002-03-30 Thread Robert Montgomery
OK, I've figured it out. Apparantly when setting php vars in an apache config file, you HAVE to use the form php_admin_value as opposed to just php_value. Some of the php documentation is vague or even misleading, such as this example from the online docs, which does not use the form

Re: [PHP] php configs in the apache config file?

2002-03-30 Thread Rasmus Lerdorf
OK, I've figured it out. Apparantly when setting php vars in an apache config file, you HAVE to use the form php_admin_value as opposed to just php_value. Some of the php documentation is vague or even misleading, such as this example from the online docs, which does not use the form