Module Name: sapi_apache2.c
Content handlers: none
Configuration Phase Participation: Create Directory Config, Merge Directory Configs
Request Phase Participation: Post-Read Request
Module Directives:
php_value - PHP Value Modifier
php_flag - PHP Flag Modifier
php_admin_value - PHP Value Modifier (Admin)(只能在httpd.conf里面添加,具有高权限,设置后无法被覆盖)
php_admin_flag - PHP Flag Modifier (Admin)(只能在httpd.conf里面添加,具有高权限,设置后无法被覆盖)
PHPINIDir - Directory containing the php.ini file
EG:
之间加如了如下代码:
php_flag register_globals on
Content handlers: none
Configuration Phase Participation: Create Directory Config, Merge Directory Configs
Request Phase Participation: Post-Read Request
Module Directives:
php_value - PHP Value Modifier
php_flag - PHP Flag Modifier
php_admin_value - PHP Value Modifier (Admin)(只能在httpd.conf里面添加,具有高权限,设置后无法被覆盖)
php_admin_flag - PHP Flag Modifier (Admin)(只能在httpd.conf里面添加,具有高权限,设置后无法被覆盖)
PHPINIDir - Directory containing the php.ini file
EG:
之间加如了如下代码:
php_flag register_globals on