V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
jiangle
V2EX  ›  PHP

centos PHP exec 返回 127 怎么处理?

  •  
  •   jiangle · Jan 16, 2017 · 2724 views
    This topic created in 3394 days ago, the information mentioned may be changed or developed.
    2 replies    2017-01-17 11:57:34 +08:00
    orderc
        1
    orderc  
       Jan 17, 2017
    查看错误, exec('command 2>&1'),重定向标准错误到标准输入
    jianixrabbit
        2
    jianixrabbit  
       Jan 17, 2017 via Android
    到标准输出
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2514 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 06:57 · PVG 14:57 · LAX 23:57 · JFK 02:57
    ♥ Do have faith in what you're doing.