PHP 4.0 Bug #9476: can't use 'system', 'passthru',... from apache. works when direct php.exe
| From: | avihpit at yahoo dot com | Date: | Tue, 27 Feb 2001 11:25:27 +0000 |
| Subject: | PHP 4.0 Bug #9476: can't use 'system', 'passthru',... from apache. works when direct php.exe | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47607@lists.php.net to get a copy of this message | ||
From: avihpit@yahoo.com
Operating system: w2k
PHP version: 4.0.4pl1
PHP Bug Type: Program Execution
Bug description: can't use 'system', 'passthru',... from apache. works
when direct php.exe
php 4.0.4 AND php 4.0.4pl1
apache 1.3.14
w2k
both as cgi and as apache module
program execution functions don't work. ("warning.. can't fork... ")
when using direct php.exe to run the file
(i.e. \php\php dir.php) works fine
where dir.php contains:
<?php passthru("dir"); ?>
regards
avi
ps
it would have been more appropriate to return "file not found" in php 404, and
"access forbidden" in php 403 :)
--
Edit Bug report at: http://bugs.php.net/?id=9476&edit=1