Installing the php_intl extension
Enabling php_intl extension
If you need internationalization extension (php_intl.dll), and you have similar development environment as I have, then follow this steps:
Open Ampps manager under PHP , enable internationalization extension (php_intl.dll) and click Apply.
To check if extension is available, you need to start “php -i” in command line and search for “intl” :
Well, I got this error:
The procedure entry point __crtCreateSymbolicLinkW could not be located in the dynamic link library MSVCR110.dll
We need latest Visual C++ Runtime, but even if we have one on the windows installed, something prevent PHP to load correct DLL.
After a while and lot of experimenting I figure out that MSVCR110.dll is installed in PHP folder as part of Ampps installation (H:\Ampps\php folder for me). Windows will load this local DLL from folder where program started and will not search for one on the system.
I just rename dll file to something else (“not_used_MSVCR110.dll”) and check again. This time “php -i” was executed without errors and I found “intl” settings in generated output .
Internationalization support => enabled version => 1.1.0 ICU version => 51.2 ICU Data version => 51.2
There is one more location where MSVCR110.dll is installed (H:\Ampps\apache\bin). This is obviously inside apache runtime system and I renamed that too.
I am not sure if this is the best way to solve this problem, but for now I am satisfied.