php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18385 exec() command hangs until the console is manually stopped
Submitted: 2002-07-17 03:51 UTC Modified: 2002-07-17 04:44 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: alexxx_27 at hotmail dot com Assigned:
Status: Not a bug Package: Program Execution
PHP Version: 4.2.1 - 4.3.0 OS: Win 98/2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alexxx_27 at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-07-17 03:51 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-17 03:52 UTC] derick@php.net
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 04:10 UTC] 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 04:13 UTC] alexxx_27 at hotmail dot com
Change the status to "Open".
 [2002-07-17 04:44 UTC] hholzgra@php.net
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.



 [2004-05-19 11:40 UTC] sduicu at libero dot it
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 18:01:31 2024 UTC