[PLUG] PHP register_globals

Evan Heidtmann evan at evanheidtmann.info
Mon Feb 13 01:53:43 UTC 2006


On Sun, 2006-02-12 at 09:10 -0800, Ed Sawicki wrote:
> Is the PHP register_globals setting global?
> That is, if a Web server is running three PHP-based
> Webapps and one requires that register_globals be
> enabled, does this affect the other two Webapps?

The settings in php.ini are global.

You can override those settings on a per-site basis in the Apache
configuration (sometimes even in .htaccess):

http://us3.php.net/manual/en/configuration.changes.php

-Evan




More information about the PLUG mailing list