2016-05-03 124 views
-2

致命錯誤:您必須啓用intl擴展才能使用CakePHP。在d:\瓦帕\ WWW \ cakephp的\配置\ bootstrap.php中上線23 調用棧安裝後發生錯誤cakephp 3

時間記憶功能位置

1 0.0000 136384 {主}().. \的index.php:0 2 0.0000 163624 require('D:\ wamp \ www \ cakephp \ config \ bootstrap.php').. \ index.php:27 3 0.0000 163784 trigger_error().. \ bootstrap.php:23

+0

您必須啓用國際擴展! – Salines

+2

[CakePHP 3.0安裝:系統缺少intl擴展名]的可能重複(http://stackoverflow.com/questions/26285280/cakephp-3-0-installation-intl-extension-missing-from-system) – burzum

+0

閱讀和理解文本是火箭科學!尋找它更復雜! – burzum

回答

0

Go到配置文件php.ini

搜索extension=php_intl.dll 並刪除從這裏分號。 重新啓動你的服務器,你就完成了。

更新:根據CakePHP的documentation

In WAMP, the intl extension is 「activated」 by default but not working. To make it work you have to go to php folder (by default) C:\wamp\bin\php\php{version}, copy all the files that looks like icu*.dll and paste them into the apache bin directory C:\wamp\bin\apache\apache{version}\bin. Then restart all services and it should be OK.

+0

我已經從php.ini中的extension = php_intl.dll中刪除了分號 –

+0

@ user3801317您是否重新啓動了服務器? –

+0

是的先生我已經重新啓動我的服務器 –