Re: shell_exec question
| From: | Marek Kilimajer | Date: | Wed, 08 Oct 2003 11:33:04 +0000 |
| Subject: | Re: shell_exec question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165411@lists.php.net to get a copy of this message | ||
safe mode is on, turn it off and restart webserver. Then you can check directory permissions.
Chris Blake wrote:
Greetings learned PHP(eople); I`m using a shell_exec to get a list of files from a specified directory. When I run it locally on my machine i works. When I run it on the other machine I get ===== Warning: shell_exec() [function.shell-exec]: Cannot execute using backquotes in Safe Mode in /var/www/html/search.php on line 9 ===== In /etc/php.ini Safe Mode is off....I read some postings in the archives and on the advice given checked that the owner of the script has the relevant permissions on the directory/files trying to be accessed, and they are the same i.e. root Any ideas ?