[Symfony\Component\Process\Exception\RuntimeException] The Proc

lovetina2017發表於2017-06-18

*[Symfony\Component\Process\Exception\RuntimeException]
The Process class relies on proc_open, which is not available on your PHP installation. *

cd /usr/local/php/etc
vim php.ini

解決方法:
開啟php.ini,並搜尋disable_functions指令,找到類似如下內容:
disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server
找到proc_open並刪除即可。

/usr/local/apache/bin/apachectl restart

相關文章