note 62469 rejected from function.system by betz
| From: | betz@php.net | Date: | Wed, 01 Mar 2006 11:44:05 +0000 |
| Subject: | note 62469 rejected from function.system by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104623@lists.php.net to get a copy of this message | ||
Note Submitter: undernetangel at yahoo dot com
----
I have a weird problem with functions that interacts with OS: I cannot execute any command through
system(), exec() etc. The system() return code is 127, nothing appears in log files... I am trying
to execute this:
system("/usr/bin/mysqldump --opt -h $host -u $user --password=$pass $db | /bin/gzip >
$savefile",$retval);
print $retval;
I cannot find anywhere anything about what must to be set or configured on my LINUX server. The
script works just find on a similar test server. The two server configuration is identical. Do I
miss something?