summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/soap/soap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index e2a9a84a15..1dac5b7143 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -645,6 +645,9 @@ PHP_MINIT_FUNCTION(soap)
{
zend_class_entry ce;
+#if defined(COMPILE_DL_SOAP) && defined(ZTS)
+ ZEND_TSRMLS_CACHE_UPDATE;
+#endif
/* TODO: add ini entry for always use soap errors */
php_soap_prepare_globals();
ZEND_INIT_MODULE_GLOBALS(soap, php_soap_init_globals, NULL);