|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-29 01:45 UTC] bjori@php.net
[2006-04-30 10:53 UTC] egingell at sisna dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 25 22:00:01 2025 UTC |
Description: ------------ Description is in the code snippit. It's possible that the problem lies with Apache 1.3.33. Reproduce code: --------------- <? /* I don't know if it's a bug in Dreamhost's PHP 4.4.2 or a bug in Apache or what, but the following produces no output. */ echo shell_exec("mkdir -v 'fakedir';rmdir -v 'fakedir'"); /* While executig "mkdir -v 'fakedir';rmdir -v 'fakedir'" at the command line gives the following: */ /* mkdir: created directory `fakedir' */ /* rmdir: removing directory, fakedir */ /* This line produces the correct output. */ echo shell_exec("touch 'fakefile';rm -v 'fakefile'"); /* removed `fakefile' */ ?> Expected result: ---------------- Expected results are in the code snippit. Actual result: -------------- Actual results are in the code snippit.