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即可。

转载于:https://www.cnblogs.com/godfather007/p/11009497.html

你可能感兴趣的:(The Process class relies on proc_open, which is not available on your PHP installation报错解决)