#29695 [Opn]: php_admin_value being overriden by php_value
| From: | mvl22 at mailinator dot com | Date: | Mon, 16 Aug 2004 03:13:08 +0000 |
| Subject: | #29695 [Opn]: php_admin_value being overriden by php_value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64665@lists.php.net to get a copy of this message | ||
ID: 29695
User updated by: mvl22 at mailinator dot com
Reported By: mvl22 at mailinator dot com
Status: Open
Bug Type: Apache related
Operating System: Windows XP
PHP Version: 5.0.1
New Comment:
Sorry, the lines
Local value:/home/sites/sitex/web/
and
Local value:C:/path/to/directory/
in my report should be swapped over.
Previous Comments:
------------------------------------------------------------------------
[2004-08-16 05:08:35] mvl22 at mailinator dot com
Description:
------------
http://uk.php.net/configuration.changes
states:
"php_admin_value ... Any directive type set with php_admin_value can
not be overridden by .htaccess or virtualhost directives"
In my httpd.conf I have:
php_admin_value include_path "C:/path/to/directory/"
In my .htaccess file (which has Allowoverride all) I have:
#php_value include_path /home/sites/sitex/web/
phpinfo () gives:
include_path
Local value:/home/sites/sitex/web/
if I uncomment the line in .htaccess, to:
php_value include_path /home/sites/sitex/web/
phpinfo () gives:
include_path
Local value:C:/path/to/directory/
Clearly, php_admin_value is being read, because it wouldn't appear in
this second case. However, when php_value is present, it IS being
overriden, which seems to be incorrect behaviour.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29695&edit=1