Re: mysqldump problem from PHP
| From: | clive | Date: | Mon, 23 Oct 2006 14:05:12 +0000 |
| Subject: | Re: mysqldump problem from PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243473@lists.php.net to get a copy of this message | ||
write rights for apache/php user to the $backup_path?
also is apache/php user allowed to run mysqldump?
hi all, Im doing the following dump through PHP: $output = shell_exec('mysqldump '. $db_database .' > '. $backup_path.$filename); It doesnt seem to work but when I run the exact same command (with appropriate values) in the command line it creates the dump file. What could be the reason for this? Thanks in advance. regards ------------------------------------------------------------------------ Angelo Zanetti Systems developer ------------------------------------------------------------------------ *Telephone:* +27 (021) 469 1052-- Regards, Clive*Mobile:* +27 (0) 72 441 3355 *Fax:* +27 (0) 86 681 5885* Web:* http://www.zlogic.co.za *E-Mail:* angelo@zlogic.co.za <mailto:angelo@zlogic.co.za>