laravel 任务调度,运行命令报错

报以下错误:

SymfonyComponentDebugExceptionFatalThrowableError : Return value of SymfonyComponentProcessProcess::close() must be of the type integer, null returnedphp

解决方式:

一、修改PHP配置文件php.ini,找到 disable_functions 字段,删除 proc_get_status 。(若是有其余报错也能够删除 proc_open,reallink 函数)nginx

二、重启php-fpm(nginx环境)。函数

相关文章
相关标签/搜索