1.
php.ini中
safe_mode = off
2.
disable_functions 中没有exec或system等
3.
cmd.exe有可执行权限
4.
mysqldump.exe 有可执行权限
5.
如果还不能解决,请搜“php exec() mysqldump为空”