Laravel执行定时脚本报错解决方法
2021-07-26
后端
Laravel
2746
0
laravel执行定时脚本php artisan schedual:run报错误如下:There are no comands defined in the "schedual" namespace.Did you mean this?schedul解决方法很简单,原因就是没开启php函数,我们开启即可打开php.ini,并搜索disable_functions指令,找到类似如下内容:disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server找到proc_open并删除即可。proc_get_status 删除