ID: 28195 Updated by: php-bugs@lists.php.net Reported By: wesleygoku at hotmail dot com -Status: Feedback +Status: No Feedback Bug Type: Scripting Engine problem Operating System: Windows 2000 SP4 + Apache 2.0.49 PHP Version: 4.3.6 New Comment:
No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2005-01-07 18:54:58] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2004-08-14 20:41:13] z at tzib dot net Apache2 works very well with PHP in most/all cases. register_shutdown_function never worked for me in PHP4.X I just upgraded to PHP5.0.0 and guess what! it works, well, partly: I use the latest Apache2, and the shutdown function *gets* called (woah :p) and connection_abort *does* return the right value ! But, as I said, just partly working. For some reason I don't know about, if your code in the shutdown function is too large or something, or access variable, (its quite weird so im unable to tell what it is exactly), then it doesn't gets executed. Eg, I go PHP launching an application and reading stdout. when the guy close the page i want to kill the app, so i close the fd'd, call proc_terminate and proc_close .. nothing happens. So i tried system("kill -9 ".$pid) (i took the pid as global from another part of the code), and never gets executed either it seems.. So i did system("killall appname"); and this one does works Another weird thing is that php takes 20secs or more to trigger the shutdown function once the page is closed. ------------------------------------------------------------------------ [2004-04-28 21:11:50] [EMAIL PROTECTED] Apache 2 is not ready for production, so you're out of luck here. ------------------------------------------------------------------------ [2004-04-28 20:40:31] wesleygoku at hotmail dot com I can't try under Apache 1.2.29 unless I reinstall this older version of Apache and reconfigure all the server - which I can't. I expected this problem fixed under the new Apache 2.0, which has better support on Windows. ------------------------------------------------------------------------ [2004-04-28 09:09:11] [EMAIL PROTECTED] Does it work with apache 1.3.29? ------------------------------------------------------------------------ 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/28195 -- Edit this bug report at http://bugs.php.net/?id=28195&edit=1