Ce contenu n'est pas disponible dans la langue sélectionnée.
10.2.4.8. PHP
The configuration for PHP has been moved from
httpd.conf
into the file /etc/httpd/conf.d/php.conf
. For this file to be loaded, the statement Include conf.d/*.conf
must be in httpd.conf
as described in Section 10.2.1.3, “Dynamic Shared Object (DSO) Support”.
Note
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
register_globals
to On
in the file /etc/php.ini
.
For more on this topic, refer to the following URL for details concerning the global scope changes: