Occurrences of
Apache::
in
httpd.conf
must be replaced with
ModPerl::
. Additionally, the
manner in which handlers are registered has been changed.
This is a sample Apache HTTP Server 1.3
mod_perl
configuration:
<Directory /var/www/perl> SetHandler perl-script PerlHandler
Apache::Registry OExecCGI </Directory>
This is the equivalent
mod_perl
for Apache HTTP Server 2.0:
<Directory /var/www/perl> SetHandler perl-script PerlResponseHandler
ModPerl::Registry OExecCGI </Directory>
Most modules for
mod_perl
1.x should work without modification with
mod_perl
2.x. XS
modules require recompilation and may require minor Makefile modifications.
2.4.7. The
mod_python
Module
Configuration for
mod_python
has moved from
httpd.conf
to the
/etc/httpd/conf.d/python.conf
file. For this file to be loaded, and hence for
mod_python
to
work, the statement
Include conf.d/*.conf
must be in
httpd.conf
as described in
Section 2.1.3, “Dynamic Shared Object (DSO) Support”
.
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 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:
Chapter 10. Apache HTTP Server
160
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......