jiangle
V2EX  ›  PHP

centos PHP exec 返回 127 怎么处理?

  •  
  •   jiangle · Jan 16, 2017 · 2790 views
    This topic created in 3428 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   ·   2821 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:07 · PVG 23:07 · LAX 08:07 · JFK 11:07
    ♥ Do have faith in what you're doing.