Show Table of Contents
The configuration for PHP has been moved from
httpd.confinto the file
/etc/httpd/conf.d/php.conf. For this file to be loaded, the statement
Include conf.d/*.confmust be in
httpd.confas described in Section 10.2.1.3, “Dynamic Shared Object (DSO) Support”.
Any PHP configuration directives used in Apache HTTP Server 1.3 are now fully compatible, when migrating to Apache HTTP Server 2.0 on Red Hat Enterprise Linux 4.5.0;.
In PHP version 4.2.0 and later the default set of predefined variables which are available in the global scope has changed. Individual input and server variables are, by default, no longer placed directly into the global scope. This change may cause scripts to break. Revert to the old behavior by setting
Onin the file
For more on this topic, refer to the following URL for details concerning the global scope changes: