Bug with register_globals on versus 1 and php_value vs php_flag?
| From: | Daevid Vincent | Date: | Tue, 26 Nov 2002 19:23:06 +0000 |
| Subject: | Bug with register_globals on versus 1 and php_value vs php_flag? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-126154@lists.php.net to get a copy of this message | ||
I don't know if this is a known bug or it's supposed to work like this,
but after randomly trying things, this finally worked:
<VirtualHost *>
DocumentRoot /home/interact/public_html
ServerName interact
ServerAlias www.interact.com *.interact.*
ErrorLog logs/interact-error_log
CustomLog logs/interact-access_log common
<Directory /home/interact/public_html>
php_value register_globals 1
</Directory>
</VirtualHost>
Whereas:
<Directory /home/interact/public_html>
php_flag register_globals on
</Directory>
Didn't work (as I would assume it should)
I'm running:
PHP 4.2.2
Apache 2.0.40
Zend engine 1.2.0
RedHat 8.0
Kernel 2.4.18