#29695 [Opn->Fbk]: php_admin_value being overriden by php_value

From: Date: Mon, 07 Mar 2005 19:24:31 +0000
Subject: #29695 [Opn->Fbk]: php_admin_value being overriden by php_value
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75041@lists.php.net to get a copy of this message
ID: 29695 Updated by: sniper@php.net Reported By: mvl22 at mailinator dot com -Status: Open +Status: Feedback Bug Type: Apache related Operating System: Windows XP PHP Version: 5.0.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip I can not reproduce this. (What apache version do you have?) Previous Comments: ------------------------------------------------------------------------ [2004-08-16 05:12:27] mvl22 at mailinator dot com Sorry, the lines Local value:/home/sites/sitex/web/ and Local value:C:/path/to/directory/ in my report should be swapped over. ------------------------------------------------------------------------ [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

« previous php.bugs (#75041) next »