Manuál PHP | ||
---|---|---|
Předcházející | Další |
Tyto funkce jsou k dispozici pouze pokud PHP běží jako modul Apache 1.x.
Instalaci PHP v Apache 1.x viz část Apache kapitoly o instalaci.
The behaviour of the Apache PHP module is affected by settings in php.ini. Configuration settings from php.ini may be overridden by php_flag settings in the server configuration file or local .htaccess files.
Tabulka 1. Apache configuration options
Name | Default | Changeable | Changelog |
---|---|---|---|
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. |
Zde je stručný popis konfiguračních direktiv.
engine
booleanTurns 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 engine off in the appropriate places in the httpd.conf file, PHP can be enabled or disabled.
child_terminate
booleanSpecify whether PHP scripts may request child process termination on end of request, see also apache_child_terminate().
last_modified
booleanSend PHP scripts modification date as Last-Modified: header for this request.
xbithack
booleanParse files with executable bit set as PHP regardless of their file ending.
Toto rozšíření nemá definován žádný typ prostředku (resource).
Toto rozšíření nemá definovány žádné konstanty.
Předcházející | Domů | Další |
dotnet_load | Nahoru | apache_child_terminate |