laravel 任务调度,运行命令报错
文章目录
报如下错误:
SymfonyComponentDebugExceptionFatalThrowableError : Return value of SymfonyComponentProcessProcess::close() must be of the type integer, null returned
解决方式:
1、修改PHP配置文件php.ini,找到 disable_functions 字段,删除 proc_get_status 。(如果有其他报错也可以删除 proc_open,reallink 函数)
2、重启php-fpm(nginx环境)。
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论