码迷,mamicode.com
首页 > Web开发 > 详细

wamp 中安装cakephp Fatal error: You must enable the intl extension to use CakePHP. in XXX

时间:2015-06-07 11:12:04      阅读:445      评论:0      收藏:0      [点我收藏+]

标签:cakephp   php   intl extension   

        今天在wamp下安装cakephp3.x的时候,报出这么一条错误:Fatal error: You must enable the intl extension to use CakePHP. in D:\wamp1\www\cakephp\config\bootstrap.php on line 38。查了很多资料,发现还是没用!最后,看cakephp手册Cookbook 3.x才发现早已经有了解决方案:

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.

这句话解释一下,就是把D:\wamp1\bin\php\php5.5.12(我的wamp安装在d盘)下带有icu*.dll的文件,如下所示:

技术分享

放到D:\wamp1\bin\apache\apache2.4.9\bin中,重启下apche所有服务即可!

wamp 中安装cakephp Fatal error: You must enable the intl extension to use CakePHP. in XXX

标签:cakephp   php   intl extension   

原文地址:http://blog.csdn.net/whq19890827/article/details/46398309

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!