PHP 4.0 Bug #4761 Updated: exec, system all give an error on a fork...
| From: | derick@php.net | Date: | Wed, 03 Jan 2001 16:49:33 +0000 |
| Subject: | PHP 4.0 Bug #4761 Updated: exec, system all give an error on a fork... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42853@lists.php.net to get a copy of this message | ||
ID: 4761
Updated by: derick
Reported By: jim@oublic.org
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@php.net
it´s five bugs now...
---------------------------------------------------------------------------
[2000-07-30 08:45:55] zak@php.net
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@cvs.php.net
This is not a crash
---------------------------------------------------------------------------
[2000-06-01 18:33:47] jim@oublic.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");
fpassthru($fp);
</script>
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=4761