summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2002-04-30 00:16:00 +0000
committerWez Furlong <wez@php.net>2002-04-30 00:16:00 +0000
commit37411dd67427babef896b10c55d8f92ff09c318c (patch)
tree3b3b27f9f9c6d2e3f97dc2a85c6d730e51a2784d /main/main.c
parent94f9b3bdb5c5cf05656b63935ff0343cf9aebfb8 (diff)
downloadphp-git-37411dd67427babef896b10c55d8f92ff09c318c.tar.gz
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.
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index 737507ac1d..afcb7c47d9 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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();