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即可。
未经验证的方法及转载别人的经验会在博客里做特别说明,欢迎各位互相学习交流,发现有错误或疑问请留言。