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 ?



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to