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環境)。函數

相關文章
相關標籤/搜索