Phpinfo shows the PATH to be /bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec:/System/Library/CoreServices
but I need to add /usr/local/mysql/bin/ so it can find mysqldump.
I made sure safe mode is off and tried various ways to set the mysqldump command, but it just can't find it. Here is what I tried with putenv:
$myPath = "PATH=/bin /sbin /usr/bin /usr/sbin /usr/libexec /System/Library/CoreServices /usr/local/mysql/bin/"; $chgPath = putenv($myPath); echo "<br>return value of putenv = ",$chgPath; echo "<br>my path = ",$myPath; echo "<br>returned path = "; echo getenv('PATH');Help!