Hi. I get the following error when running:
System program "mysqldump" not found in $PATH. Please check with your sysadmin for further assistance.

Now I understand that this will occur when mysqldump is not in the $PATH but on contacting my webhost I find that everything I need is available in $PATH (tar, gzip and mysqldump). The support person suggested that, because the script is being run from a web interface then it is being executed as 'nobody' and so the $PATH variable is different.

Any ideas on how to get around this?

Thanks in advance
Richard

Comments

azzurro’s picture

exactly the same problem here. Hoster wouldn't allow to access these 3 tools directly from the backup.modul as it has very restricted basedir/PATH. As cron-task directly it may work. Any workaround here???