Contents

Installing the php_intl extension

Contents

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.

/images/2015-09-16-22_41_09-Program-Manager-300x275.pngThat was simple , yes ?

To check if extension is available, you need to start “php -i” in command line and search for “intl” :

H:\>php -i

Well, I got this error:

The procedure entry point __crtCreateSymbolicLinkW could not be located in the dynamic link library MSVCR110.dll

/images/2015-09-16-22_52_00-php.exe-Entry-Point-Not-Found-300x118.png

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 .

intl

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.