ID: 48563 Updated by: paj...@php.net Reported By: dmda at yandex dot ru Status: Assigned Bug Type: Reproducible crash Operating System: Windows XP sp3 PHP Version: 5.3.0RC3 Assigned To: pajoye New Comment:
"Really? Only because TS is sligtly slower? or what? Did you manage to run NTS/VC9 build at all? I does not work for me." Yes, it works for me and almost the full IIS team as well. "NTS/VC9 produces HTTP/500 and nothing else. I'll report this separately." Be sure that you have the VC9 runtime installed. Best is to test it in cli first. Previous Comments: ------------------------------------------------------------------------ [2009-06-17 14:30:36] dmda at yandex dot ru TS/VC6 works if there are # in php.ini ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I meant TS/VC6 works if there is no # in php.ini ------------------------------------------------------------------------ [2009-06-17 14:29:10] dmda at yandex dot ru > I still do not undestand how you get this warning as it happens > onlywhen php is trying to compile a php src file, and not > a php.ini. Sorry, seems you ignore all I posted :) Php was initializing itself. It pefroms this initialization and reading/parsing php.ini everytime BEFORE running any php src files. Please don't try to "understand", either learn code or ask experienced people :) > I'd to try with fcgi TS and see if it crashes. However, I'd to say > that it is not a stopping for 5.3 if it does. I think it's up to PM. > FCGI should not be used using the TS builds but NTS. Really? Only because TS is sligtly slower? or what? Did you manage to run NTS/VC9 build at all? I does not work for me. TS/VC6 works if there are # in php.ini. NTS/VC9 produces HTTP/500 and nothing else. I'll report this separately. ------------------------------------------------------------------------ [2009-06-17 13:53:40] paj...@php.net I still do not undestand how you get this warning as it happens only when php is trying to compile a php src file, and not a php.ini. I'd to try with fcgi TS and see if it crashes. However, I'd to say that it is not a stopping for 5.3 if it does. FCGI should not be used using the TS builds but NTS. ------------------------------------------------------------------------ [2009-06-17 13:38:19] dmda at yandex dot ru yes, I know this and pointed to this fact in PHPCON 2003. Anyway the trouble manifests itself. As far as I understand, the problem is with initialization of the module context. It is not done at the moment when php core logs the error in php.ini ("deprecated stuff" in this case). If I'm correct, initialization is initialization. NTS won't crash just because it does not allocate its context in the heap because it uses static data. Even if it works foryou, uninitialized data won't let you control the values. You either can not get the error in php's log or can't stop it from appearing. Try to change fcgi_logging value (fastcgi.logging = ON and OFF) and see if the error appears or does not appear respectively. ------------------------------------------------------------------------ [2009-06-17 13:07:13] paj...@php.net Quick note: If you use fastcgi, you don't need thread safe build, use NTS. And for php 5.3, use VC9 NTS builds, even faster/better. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48563 -- Edit this bug report at http://bugs.php.net/?id=48563&edit=1