Re: PHP doesn't see register_globals = On in php.ini
| From: | (Bjorn Solberg) | Date: | Wed, 04 Sep 2002 17:32:00 +0000 |
| Subject: | Re: PHP doesn't see register_globals = On in php.ini | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8327@lists.php.net to get a copy of this message | ||
Jerry writes:
[...]
> If phpinfo() says /usr/local/php/php.ini, then that is what you need to
> change.
... and that's what I changed.
> 1) make sure that php.ini has the correct permissions. It needs to be
> readable by whatever user or group the web server is running as.
rx for everyone for directories up to and including /usr/local/php,
php.ini itself is 775 -- i.e. readable for everyone.
> 2) make sure that you know which /usr/local/php that refers to. If you
> are logging in to one server, but the web server is on another server,
> as is often the case, you need to make sure that register globals is on
> for the web server.
It is all on one and the same machine.
> You might also try adding
> php_flag register_globals on
> to a .htaccess file of the squirrelmail directory.
Yooohoooo!! That did it. Thank you for the thorough help, although I
still don't understand why setting register_globals = On in php.ini
doesn't work.
Bjorn.