#20008 [Csd->Opn]: php_admin_flag clears variable if it can't be changed
| From: | derick@php.net | Date: | Mon, 21 Oct 2002 12:56:08 +0000 |
| Subject: | #20008 [Csd->Opn]: php_admin_flag clears variable if it can't be changed | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22957@lists.php.net to get a copy of this message | ||
ID: 20008
Updated by: derick@php.net
Reported By: uhlar@fantomas.sk
-Status: Closed
+Status: Open
Bug Type: PHP options/info functions
Operating System: FreeBSD4.5
PHP Version: 4.2.3
New Comment:
true, but that was not the reported bug
Previous Comments:
------------------------------------------------------------------------
[2002-10-21 07:53:50] nicos@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
upload_tmp_dir is PHP_INI_SYSTEM.
PHP_INI_SYSTEM Entry can be set in php.ini or httpd.conf (but not in
VHost blocks in httpd.conf).
------------------------------------------------------------------------
[2002-10-21 07:40:40] uhlar@fantomas.sk
upload_tmp_dir was set to '/clients/home/TMP' in php.ini
I tried to redefine it in <VirtualHost> section via php_admin_flag (I
missed that it's not allowed) it was changd to 0.
I think that if a variable can't be changed in <VirtualHost> section,
attempt to change it should not wipe it.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20008&edit=1