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:
Wez Furlong 2002-04-30 00:16:00 +00:00
parent 94f9b3bdb5
commit 37411dd674
4 changed files with 76 additions and 7 deletions

View file

@ -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();