|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4761 exec, system all give an error on a fork...
Submitted: 2000-06-01 18:33 UTC Modified: 2001-04-27 12:52 UTC
From: jim at oublic dot org Assigned: derick (profile)
Status: Closed Package: *General Issues
PHP Version: 4.0.0 Release OS: Windows2000 Server
Private report: No CVE-ID: None
 [2000-06-01 18:33 UTC] jim at oublic dot org
<script language="php">

# for linux    
#    $imageRoot = "/home/httpd/html/mrsid/mrsid_images/sample";
#    $binRoot = "/home/httpd/html/mrsid/bin";
#    exec("$binRoot/mrsid_retrieve -quiet -i $file -o d:/temp/out.jpg -icon");

# for windows
    $imageRoot = "d:/inetpub/wwwroot/sid/sample";
    $binRoot = "d:/inetpub/wwwroot/sid/bin";

    $file = "$imageRoot/aerial.sid";

# exec-ing any command fails with 'could not fork'  backticks, and system do the same
    exec("$binRoot/mrsid_extract -i $file -o d:/temp/out.jpg -icon");
    $fp = fopen("d:/temp/out.jpg", "rb");
    Header ("Content-Type: image/jpeg");


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-10 19:28 UTC] stas at cvs dot php dot net
This is not a crash
 [2000-07-30 08:45 UTC]
I cannot get ISAPI filter to install in IIS on Win2k Pro.  When I install the filter and restart iis, the internet service manager hangs.

However, there are 4 separate bugs reports and at least two messages posted to php-win confirming this behavior.

 [2000-07-31 15:51 UTC]
it?s five bugs now...
 [2000-07-31 15:59 UTC]
just duped to other bugs, appears on w98,win2k,winnt with IIS4 and IIS5 (maybe Xitami too)...
 [2001-04-27 12:52 UTC]
fixed in cvs, wait for 4.0.6
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 17:01:27 2019 UTC