Re: Re: Windows builds PECL site integration
| From: | Joe Watkins | Date: | Sun, 06 Oct 2013 18:45:01 +0000 |
| Subject: | Re: Re: Windows builds PECL site integration | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11176@lists.php.net to get a copy of this message | ||
On 10/06/2013 07:30 PM, Jan Ehrhardt wrote:
"Anatol Belski" in php.pecl.dev (Sun, 6 Oct 2013 20:09:45 +0200):#ifndef ZTSOn Sun, October 6, 2013 16:52, Jan Ehrhardt wrote: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: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.
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