首页 > 开发程序 > PHP > 正文


laravel新建应用报错:The Process class relies on proc_open, which is not

12-24 15:46:02   来源:shikezhi.com   评论: 点击:

laravel异常:[Symfony Component Process Exception RuntimeException] The Process class relies on proc_open, which is not available on your PHP installation
 
#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并删除即可。

相关热词搜索:laravel 异常

上一篇:centos6安装laravel成功,但是新建项目时报错: Permission denied 下一篇:laravel创建项目提示Couldn't resolve host 'cabinet.laravel.com'
分享到: 收藏