PHP doesn't see register_globals = On in php.ini
| From: | Bjorn Solberg | Date: | Wed, 04 Sep 2002 08:18:59 +0000 |
| Subject: | PHP doesn't see register_globals = On in php.ini | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8322@lists.php.net to get a copy of this message | ||
On Linux, Apache 1.3.26:
/usr/local/php/php.ini contains:
register_globals = On
phpinfo() says:
PHP Version 4.2.1
[...]
Configure Command './configure' '--enable-track-vars'
'--enable-force-cgi-redirect' '--with-gettext'
'--with-config-file-path=/usr/local/php/php.ini' '--prefix=/usr/local/php'
'--with-ldap' '--with-mysql' '--with-pgsql'
'--with-apxs=/usr/local/apache/bin/apxs' Server API
[...]
Configuration File (php.ini) Path /usr/local/php/php.ini
[...]
Local Master
register_globals Off Off
What gives? Isn't it reading php.ini after all? Nothing gets output in
the logs when it parses php.ini (if it does), so this is a little hard to
figure out. (SquirrelMail requires register_globals On.)
Any ideas why it isn't setting register_globals On like php.ini tells it
to? I'm using vanilla copy of php.ini-recommended that comes with the
source, except for setting register_globals to On. I also tried with the
php.ini-dist with the same modification to no avail.
Any pointers and help is greatly appreciated!
Bjorn.