I am trying to install CakePHP 3-0-0
version and I have downloaded the source code from here. But it is showing the error of enable intl extension
. As I have already changed ;extension=php_intl.dll
to extension=php_intl.dll
(remove the semicolon) in php.ini
file and restart xampp 2-3
times, but still it is showing that same error.
Here is the error below:
Fatal error: You must enable the intl extension to use CakePHP. in D:\xampp\htdocs\cakephp-3-0-0\config\bootstrap.php on line 38
So, can anyone please tell me what is the issue here? And what should I do to resolved this issue?
Once you have activated the php_intl.dll
in the php.ini file you also need to copy the dll files that php_intl.dll
uses from the PHP folder to the Apache/bin folder.
I am not a XAMPP user so I am not sure of the actual folder names
copy xampp/php/icu*.dll to xamp\apache\bin
Also remember that you have to edit the php.ini file that lives in the \xampp\apache\bin
folder and not the one in the \xampp\php
folder.
The one in the \xampp\php
folder only gets used by PHP CLI (Command Line Interface)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With