1. 程式人生 > >laravel新建應用報錯:The Process class relies on proc_open, which is not

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_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server

找到proc_open並刪除即可。

proc_get_status 刪除