These functions are only available when running PHP as an Apache module.
As of PHP 4.3.2,
PATH_TRANSLATED is no longer set
implicitly under the Apache 2 SAPI in contrast
to the situation in Apache 1, where it's set to the same value as
SCRIPT_FILENAME server variable when it's not
populated by Apache. This change was made to comply with the
CGI specification that
PATH_TRANSLATED should only exist if
PATH_INFO is defined.
Apache 2 users may use
AcceptPathInfo = On inside
httpd.conf to define
For PHP installation on Apache see the installation chapter.
The behaviour of the Apache PHP module is affected by settings in
Configuration settings from
php.ini may be overridden by
in the server configuration file or local
|engine||"1"||PHP_INI_ALL||Available since PHP 4.0.5.|
|child_terminate||"0"||PHP_INI_ALL||Available since PHP 4.0.5.|
|last_modified||"0"||PHP_INI_ALL||Available since PHP 4.0.5.|
|xbithack||"0"||PHP_INI_ALL||Available since PHP 4.0.5.|
For further details and definitions of the PHP_INI_* constants, see the Appendix I,
Here's a short explanation of the configuration directives.
Turns PHP parsing on or off.
This directive is really only useful in the Apache module
version of PHP. It is used by sites that would like to turn
PHP parsing on and off on a per-directory or per-virtual
server basis. By putting
in the appropriate places in the
httpd.conf file, PHP can
be enabled or disabled.
Specify whether PHP scripts may request child process termination on end of request, see also apache_child_terminate().
Send PHP scripts modification date as Last-Modified: header for this request.
Parse files with executable bit set as PHP regardless of their file ending.
Table of Contents