1. 程式人生 > >has been disabled for security reasons

has been disabled for security reasons

原因:

      由於PHP配置中的php.ini預設設定了禁用了執行系統外部命令函式:exec()、passthru()、system()、shell_exec(),

因為PHP預設php.ini配置檔案中是不允許你呼叫執行外部命令的函式的。

解決:

      找到PHP配置檔案php.ini 將 “disable_functions=”後面有接上面四個函式刪除,就可以了.