On Sun, 2007-12-30 at 14:47 +0100, Christian Hoffmann wrote: > problems unfixed. Just consider the following scenario: You've got an > existing PHP installation. Let's assume you are using Apache w/ a > multi-threaded mpm and as such have built php with zts. All your > extensions are built with zend thread safety as well, of course. Then > you decide that switching to another web server and using FastCGI might > be better, as such you turn off zts for the new build as you don't need > it anymore. Building works fine, but suddenly almost all tests are > starting to fail. Why? Because run-tests.php uses the global php.ini > file and tries to load your zts extensions which cannot work for obvious > reasons.
But then the installed php wouldn't work either unless you fix the php.ini first. :) Besides, the 'make test' does NOT include the extension lines from the php.ini. I added a fix for this long time ago to only load those shared extensions which were currently build. Not sure in what PHP version it was included in..but it is in the current PHP_5_2 branch. --Jani -- Patches/Donations: http://pecl.php.net/~jani/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php