The Process class relies on proc_open, which is not
凡是php框架提示这个都可以采用
laravel新建应用报错:The Process class relies on proc_open, which is not
#laravel new blog
Crafting application...
[Symfony\Component\Process\Exception\RuntimeException]
The Process class relies on proc_open, which is not available on your PHP installation.
解决方法:
打开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并删除即可。
proc_open()
功能描述:执行一个命令并打开文件指针用于读取以及写入。
危险等级:高
可以安装之后再恢复