echo shell_exec('py 2>&1');. 在伺服器上的cmd直接執行都可以正常執行,但如果是用PHP內的exec函數呼叫時則會出現「Can't find a default Python」.
確定! 回上一頁