[PHP-DEV] PHP 4.0 Bug #4761 Updated: exec, system all give an error on a fork... From: derick <email protected>
Date: 01/03/01

ID: 4761
Updated by: derick
Reported By: jim <email protected>
Old-Status: Analyzed
Status: Assigned
Old-Bug Type: Misbehaving function
Bug Type: *General Issues
Assigned To: derick
Comments:

Previous Comments:
---------------------------------------------------------------------------

[2000-07-31 15:51:32] waldschrott <email protected>
itīs five bugs now...

---------------------------------------------------------------------------

[2000-07-30 08:45:55] zak <email protected>
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-06-10 19:28:01] stas <email protected>
This is not a crash

---------------------------------------------------------------------------

[2000-06-01 18:33:47] jim <email protected>
<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");
    fpassthru($fp);
    
</script>

---------------------------------------------------------------------------

Full Bug description available at: http://bugs.php.net/?id=4761

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>