|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-01-03 11:12 UTC] derick@php.net
[2001-01-03 11:12 UTC] derick@php.net
[2001-04-27 19:21 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 20:00:01 2025 UTC |
<?php system("dir"); ?> This causes apache to hang until you kill the request handling process using the task manager; the script then completes and produces the output: Warning: Unable to fork [dir] in i:/cms.wwwroot/test/test.php on line 2 The same effect is evident with exec and popen. The backtick operator causes Apache to GPF. If you use the CGI version, things work as expected. The binaries are those from php4win.de (php4.0.4-win32-20001210). This sounds like a deadlock -- there is that mutex for chdir in the exec/popen code - maybe it's related to that somehow? Or perhaps it's more of an issue with Apache itself. If you need more info, just let me know. --Wez.