mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Stop Apache if PHP wasn't started successful.
This commit is contained in:
parent
0a24d7ba8f
commit
310631cc05
1 changed files with 3 additions and 1 deletions
|
@ -482,7 +482,9 @@ php_apache_server_startup(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp
|
||||||
zend_signal_startup();
|
zend_signal_startup();
|
||||||
|
|
||||||
sapi_startup(&apache2_sapi_module);
|
sapi_startup(&apache2_sapi_module);
|
||||||
apache2_sapi_module.startup(&apache2_sapi_module);
|
if (apache2_sapi_module.startup(&apache2_sapi_module) != SUCCESS) {
|
||||||
|
return DONE;
|
||||||
|
}
|
||||||
apr_pool_cleanup_register(pconf, NULL, php_apache_server_shutdown, apr_pool_cleanup_null);
|
apr_pool_cleanup_register(pconf, NULL, php_apache_server_shutdown, apr_pool_cleanup_null);
|
||||||
php_apache_add_version(pconf);
|
php_apache_add_version(pconf);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue