On 10/06/2013 07:30 PM, Jan Ehrhardt wrote:
"Anatol Belski" in php.pecl.dev (Sun, 6 Oct 2013 20:09:45 +0200):
On Sun, October 6, 2013 16:52, Jan Ehrhardt wrote:
Did you test if all those 100 extensions will load without crash?

I've checked most of the exts randomly while developing the build system.
It doesn't run nmake test, the goal is just to build.

In my own builds I do not use nmake test either. But what I do for most
extensions is to run a php.exe phpinfo.php and a php-cgi.exe phpinfo.php
with the extension_dir set to 'ext' and the extension loaded. Doing it
that way occasionally revealed a bug, but also showed that
php_wincache.dll will not load in a TS PHP.

Jan

There's a problem with ZTS and module dtors using ZEND_INIT_MODULE_GLOBALS macro, the dtor in wincache doesn't do anything anyway, so try:

#ifndef ZTS
ZEND_INIT_MODULE_GLOBALS(wincache, globals_initialize, globals_terminate);
#else
    ZEND_INIT_MODULE_GLOBALS(wincache, globals_initialize, NULL);
#endif

in php_wincache.c MINIT function ...

PS I can run in ZTS mode on XP ...

Cheers
Joe

--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to