有时使用 Composer安装thinkphp各种出错,还挺郁闷的~
如果出现以下错误,就用这个方法吧!
[Symfony Component Process Exception RuntimeException] The Process class relies on proc_open, which
打开php.ini,并搜索disable_functions指令,找到类似如下内容:
1 | 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并删除即可。
转载请保留本文链接:https://www.zhe94.com/697.html