jiangle
V2EX  ›  PHP

centos PHP exec 返回 127 怎么处理?

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