|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-02-27 06:25 UTC] avihpit at yahoo dot 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. \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 :)
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 02:00:01 2025 UTC |
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");