On Wed, 31 Mar 2004 23:54:52 -0700, Brian Duke <[EMAIL PROTECTED]> wrote:

I can't seem to use the shell_exec() command.

...
[EMAIL PROTECTED] php-4.3.2]# php /var/www/html/swap/mem.php

Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in
/var/www/html/swap/swap.php on line 3

...
This
is what is in my PHP.ini



; Safe Mode

;

safe_mode = Off

safe_mode_gid = Off

safe_mode can be set in your apache.conf or a .htaccess file, check the values of these from the output of phpinfo() in the same directory your trying to run shell_exec().

Curt.

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



Reply via email to