jiangle
V2EX  ›  PHP

centos PHP exec 返回 127 怎么处理?

  •  
  •   jiangle · Jan 16, 2017 · 2877 views
    This topic created in 3471 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   ·   1620 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 16:19 · PVG 00:19 · LAX 09:19 · JFK 12:19
    ♥ Do have faith in what you're doing.