Bug #9476 Updated: can't use 'system', 'passthru',... from apache. works when direct php.exe

From: Date: Fri, 27 Apr 2001 16:57:21 +0000
Subject: Bug #9476 Updated: can't use 'system', 'passthru',... from apache. works when direct php.exe
Groups: php.dev 
Request: Send a blank email to php-dev+get-52596@lists.php.net to get a copy of this message
ID: 9476 Updated by: dbeu Reported By: avihpit@yahoo.com Old-Status: Open Status: Closed Bug Type: Program Execution PHP Version: 4.0.4pl1 Assigned To: Comments: fixed in cvs, wait for 4.0.6 please note that dir isn't a real command try something like passthru(getenv("COMSPEC") . " /c dir"); Previous Comments: --------------------------------------------------------------------------- [2001-02-27 06:25:27] avihpit@yahoo.com 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. phpphp 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 :) --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9476&edit=2

« previous php.dev (#52596) next »