|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5694 system(), exec(), passthru() pass the command, but do not output anything
Submitted: 2000-07-20 14:29 UTC Modified: 2001-04-27 19:12 UTC
From: cb at zvw dot de Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.1pl2 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: cb at zvw dot de
New email:
PHP Version: OS:


 [2000-07-20 14:29 UTC] cb at zvw dot de
PHP 4.0.1pl2 running as CGI under IIS 5/Windows 2000 (the same is valid for IIS 4/Win NT 4)

system(), exec(), passthru() do not output any response of the command.

(it worked from version 3.0.12 thru 3.0.16)

for e.g. intranet applications this feature is pretty important, and it does work for unix platforms.
But we have to develop apps for both platforms due to certain conditions and we love PHP4 and would like to fully use it under WIN32 too.

Is this an item to be fixed easily? Do we have to stick to 3.0.16?

thanx & bye



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-31 15:57 UTC]
This is a known issue and is currently under investigation.
 [2001-04-27 19:12 UTC]
This is fixed in CVS, and will be in 4.0.6
 [2002-07-19 10:59 UTC] pikachat at free dot fr
passthru(), exec() etc function does not return anything under Win2000 IIS Webservers.

It works fine under Apache for win2000.

Possible bug from the isapi version of PHP
CGI version is ok.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 05:01:29 2024 UTC