The Process class relies on proc_open, which is not available on your PHP installation报错解决

同事laravel框架开发的代码有如下错误日志
production.ERROR: The Process class relies on proc_open, which is not available on your PHP installation. {"exception":"[object] (Symfony\Component\Process\Exception\RuntimeException(
code: 0): The Process class relies on proc_open, which is not available on your PHP installation. at /XXX/vendor/symfony/process/Process.php:143)
解决:在php.ini里将disable_functions选项的proc_open,proc_get_status函数从这里取消。然后重启php-fpm即可。

posted @ 2019-06-12 14:33  godfather007  阅读(1337)  评论(0编辑  收藏  举报