ID: 28811 Updated by: [EMAIL PROTECTED] Reported By: egoh at flexwebhosting dot nl -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Fedora Core 1 PHP Version: 4.3.7 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php When safe_mode is enabled both `` and shell_exec() are disabled. Previous Comments: ------------------------------------------------------------------------ [2004-06-17 01:39:34] egoh at flexwebhosting dot nl Description: ------------ When running in safemode, you can't call a command like: '/usr/bin/convert' . When safemode is off this does work. It is causing some common scripts to fail, cause they use the hooks to allow people to use spaces or other special signs in the path. Reproduce code: --------------- <? $command="'/usr/bin/convert'"; exec($command,$results,$status); print_r($results); echo $status; ?> Expected result: ---------------- The convert command to be executed. Actual result: -------------- Exec returns 127 file not found status. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28811&edit=1
