ID: 18385 Comment by: sduicu at libero dot it Reported By: alexxx_27 at hotmail dot com Status: Bogus Bug Type: Program Execution Operating System: Win 98/2000 PHP Version: 4.2.1 - 4.3.0 New Comment:
Using PHP 4.3.6 (as CGI or ISAPI module) under Win XP and Win 2003 server (IIS 6.0 or Apache 2), the exec() and system() commands hang until the forked process is finished. For Win 2003 server sometime it gets the CGI Error - The specified CGI application misbehaved by not returning a complete set of HTTP headers. As the php manual says, I used a output redirection to be sure not to hang up but it hangs up the same till the process is finished. Simona Previous Comments: ------------------------------------------------------------------------ [2002-07-17 04:44:42] [EMAIL PROTECTED] Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-07-17 04:13:50] alexxx_27 at hotmail dot com Change the status to "Open". ------------------------------------------------------------------------ [2002-07-17 04:10:09] alexxx_27 at hotmail dot com I'm produce the same bug with the latest versions of PHP 4.3.0-DEV. PHP: 20020307 PHP Extension: 20020429 Zend Extension: 20020429 ------------------------------------------------------------------------ [2002-07-17 03:52:34] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Try the latest NON-stable snapshot from snaps.php.net ------------------------------------------------------------------------ [2002-07-17 03:51:48] alexxx_27 at hotmail dot com I have done extensive tests with exec() and system() using PHP 4.2.0 - 4.3.0 under Win 98 (and 2000) and experience problems as well. All result in the exec() command hanging until the console is manually stopped. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18385&edit=1
