chuhemiao
V2EX  ›  PHP

laravel new 项目名,报 proc_open 没有安装!

  •  
  •   chuhemiao · Mar 29, 2016 · 2830 views
    This topic created in 3786 days ago, the information mentioned may be changed or developed.

    报错如下: [Symfony\Component\Process\Exception\RuntimeException] The Process class relies on proc_open, which is not available on your PHP installation.

    项目也能新建新建成功,但是访问的时候出现 No input file specified ,说是目录没有。 刚学习 laravel ,求指教。

    6 replies    2016-03-29 18:39:37 +08:00
    songjiaxin2008
        1
    songjiaxin2008  
       Mar 29, 2016
    打开 php.ini 搜索 proc_open 看看是不是被禁用了 没有的话就得重新编译进去了
    lissome
        2
    lissome  
       Mar 29, 2016
    php.ini 中 proc_open 被禁用了
    chuhemiao
        3
    chuhemiao  
    OP
       Mar 29, 2016
    @songjiaxin2008 之前是 disable_functions:proc_open 里面有这个选项的,但是执行后就出这个。
    kslr
        4
    kslr  
       Mar 29, 2016
    @chuhemiao 意思是让你从里面删掉
    kslr
        5
    kslr  
       Mar 29, 2016
    还有,搜索下一大堆答案
    chuhemiao
        6
    chuhemiao  
    OP
       Mar 29, 2016
    @kslr
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5370 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 01:21 · PVG 09:21 · LAX 18:21 · JFK 21:21
    ♥ Do have faith in what you're doing.