1
我正在使用cakephp 3.2。 在這裏,我的項目是完美的本地工作。 我已經將它上傳到活服務器。在我的服務器中,我檢查了phpinfo.php頁面,並且得到了服務器中未啓用intl和mbstring擴展,但未顯示這兩條錯誤消息。 我不明白髮生了什麼事。 由於擴展未在服務器中啓用,所以應該出現這2個錯誤消息。Intl和mbstring擴展錯誤未顯示在服務器的cakephp 3.2中
// You can remove this if you are confident you have intl installed.
if (!extension_loaded('intl')) {
trigger_error('You must enable the intl extension to use CakePHP.', E_USER_ERROR);
}
// You can remove this if you are confident you have mbstring installed.
if (!extension_loaded('mbstring')) {
trigger_error('You must enable the mbstring extension to use CakePHP.', E_USER_ERROR);
}
任何幫助嗎? 謝謝。
這是什麼'debug'和'Error.errorLevel'配置就在那裏。此外,問題中提到的錯誤應該已寫入日誌。 – ndm