mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Implement context option setting API.
Add/amend debugging code for sockets. Add a flag that will help the http wrapper optimize itself when it is not being used for include/require.
This commit is contained in:
parent
94f9b3bdb5
commit
37411dd674
4 changed files with 76 additions and 7 deletions
|
@ -963,6 +963,11 @@ int php_module_startup(sapi_module_struct *sf)
|
|||
|
||||
REGISTER_INI_ENTRIES();
|
||||
|
||||
if (php_iface_init(TSRMLS_C) == FAILURE) {
|
||||
php_printf("PHP: Unable to initialize interface subsystem.\n");
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
/* initialize stream wrappers registry
|
||||
* (this uses configuration parameters from php.ini)
|
||||
*/
|
||||
|
@ -1072,6 +1077,7 @@ void php_module_shutdown(TSRMLS_D)
|
|||
zend_shutdown(TSRMLS_C);
|
||||
|
||||
php_shutdown_stream_wrappers(TSRMLS_C);
|
||||
php_iface_shutdown(TSRMLS_C);
|
||||
|
||||
php_shutdown_info_logos();
|
||||
UNREGISTER_INI_ENTRIES();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue