Re: I think this is a bug...cant use exec commands.

From: Date: Thu, 01 Apr 2004 17:47:06 +0000
Subject: Re: I think this is a bug...cant use exec commands.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182049@lists.php.net to get a copy of this message
On Wed, 31 Mar 2004 23:54:52 -0700, Brian Duke <brian@box201.com> wrote:
I can't seem to use the shell_exec() command. ... [root@rain 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.

« previous php.general (#182049) next »