V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
chuhemiao
V2EX  ›  PHP

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

  •  
  •   chuhemiao · 2016-03-29 17:22:26 +08:00 · 2380 次点击
    这是一个创建于 2955 天前的主题,其中的信息可能已经有所发展或是发生改变。

    报错如下: [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 条回复    2016-03-29 18:39:37 +08:00
    songjiaxin2008
        1
    songjiaxin2008  
       2016-03-29 17:27:10 +08:00
    打开 php.ini 搜索 proc_open 看看是不是被禁用了 没有的话就得重新编译进去了
    lissome
        2
    lissome  
       2016-03-29 17:27:59 +08:00
    php.ini 中 proc_open 被禁用了
    chuhemiao
        3
    chuhemiao  
    OP
       2016-03-29 17:38:00 +08:00
    @songjiaxin2008 之前是 disable_functions:proc_open 里面有这个选项的,但是执行后就出这个。
    kslr
        4
    kslr  
       2016-03-29 18:17:48 +08:00
    @chuhemiao 意思是让你从里面删掉
    kslr
        5
    kslr  
       2016-03-29 18:18:20 +08:00
    还有,搜索下一大堆答案
    chuhemiao
        6
    chuhemiao  
    OP
       2016-03-29 18:39:37 +08:00
    @kslr
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2067 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:37 · PVG 09:37 · LAX 18:37 · JFK 21:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.