宝塔备份数据库windows可运行Linux中不可运行mysqldump问题

system()运行时不报任何错误返回null  原因system被禁用       修改php.ini配置文件disable_functions等号后面system函数去掉

exec()运行时不报任何错误返回null  原因exec被禁用       修改php.ini配置文件disable_functions等号后面exec函数去掉

disable_functions = passthru,chroot,system,exec,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru

原文地址:https://www.cnblogs.com/zhang-bin/p/10286150.html