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.

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to