This error refers to the internal extension of PHP. Make sure it is turned on and you have the LAST version.
quick test:
<?php var_dump(extension_loaded('intl'));
Make sure your PHP folder is correctly registered in the% PATH% environment variable.
Control Panel - System - Advanced - ...
Without this, ICU DLLs do not load PHP as an Apache module - an error message is not displayed, but the extension is not enabled.
Give up phpinfo () ! not with ...
php -m
... or (windows = findstr, linux / cygwin = grep)
php -i | findstr intl
check that the extension is included in your php.ini (I donβt know the path of the WAMP extension, so configure it)
extension=php_intl.dll
As I can see, you are on Windows and using WAMP, you will have to get a precompiled version of the extension.
The packages at http://windows.php.net/download/ contain the php_intl.dll file in the ext folder.
Make sure that the ICU is compiled with the same version of MSVC as PHP .
You are having trouble if ICU was compiled with VC10 and PHP with VC9 .
Although php -m and php -i detect INTL, it will not display in phpinfo ().
source share