0
votes

Fatal error: You must enable the intl extension to use CakePHP. in C:\xampp\htdocs\cakephp\config\bootstrap.php on line 38

I have already Change ;extension=php_intl.dll to extension=php_intl.dll (remove the semicolon) in php.ini and restart the server through the XAMPP Control Panel.

same error comes.

This is my error log displaying in XAMPP

[22-Feb-2016 14:24:48 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_intl.dll' - The specified module could not be found. in Unknown on line 0

please tell how to resolved this issue

I read this instruction http://book.cakephp.org/3.0/en/installation.html#requirements

1
Have you checked whether the file actually exists (the error is typical for non-existent/accessible files)? And if it exists, make sure that it's compatible with (compiled for) the PHP version that you are using.ndm
I updated xampp now my problem solved. :)Lemon Kazi

1 Answers

0
votes

I ran into a similar problem, however, I was actually developing on a Linux box locally. However, what'ever version of XAMPP you're running, basically does not have the module installed or enabled.

You might go looking for that "line to uncomment", but sadly it won't be there. This means you need to install that module.

Not sure how to do that for XAMPP, however, I'm sure you can Google how to install the package!

just run this

sudo apt-get install php5-intl 

Why php5? Well it's what I have installed, so if you're running greater than that in the future, just adjust php5 to phpx whatever you're running there!