RE: [PHP] I think this is a bug...cant use exec commands.

From: Date: Fri, 02 Apr 2004 14:51:01 +0000
Subject: RE: [PHP] I think this is a bug...cant use exec commands.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182128@lists.php.net to get a copy of this message
Yes, in fact to be sure I copied free into my /var/www/html/swap directory and used that path. It still says. [root@rain swap]# php swap.php sh: line 1: /usr/local/php/bin/free: No such file or directory even though I explicitly said exec ("/var/www/html/swap/free -b", $data, $result); -----Original Message----- From: Daevid Vincent [mailto:daevid@daevid.com] Sent: Friday, April 02, 2004 12:51 AM To: 'Brian Duke'; 'Jay Blanchard'; 'William Lovaton'; php-general@lists.php.net Subject: RE: [PHP] I think this is a bug...cant use exec commands. This may seem obvious, but did you try the FULL path to 'free'? As in exec("/usr/local/bin/free -b", $data, $result);

« previous php.general (#182128) next »