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
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
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
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
4 matches
Mail list logo