From:             mvl22 at mailinator dot com
Operating system: Windows XP
PHP version:      5.0.1
PHP Bug Type:     Apache related
Bug description:  php_admin_value being overriden by php_value

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 bug report at http://bugs.php.net/?id=29695&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29695&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29695&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29695&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29695&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29695&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29695&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29695&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29695&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29695&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29695&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29695&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29695&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29695&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29695&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29695&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29695&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29695&r=float

Reply via email to