How to enable php intl extension in XAMPP / WAMP

What is the php intl extension. It is a Internationalization extension. It is useful for formatting currency, number and date or time as well as UCA-conformant collations, for message formatting and normalizing text..etc

If you want to enable the php intl extension .Follow these steps.

Step #1:
Open the [xampp / Wamp path]/php/php.ini file
Now search for the extension=php_intl.dll
By default it is in commented mode
;extension=php_intl.dll 
Just remove the ; ( semicolon)
extension=php_intl.dll 
Then save the php.ini file

The latest versions of servers are supported just this minimal setting in the step #1.
Just restart your server for take effect the new changes.

If you got any warnings while your  server starts continue the below steps .Otherwise you did n’t get any warnings while your server starts then your  php intl extension is enabled successfully.

Step #2:
Browse the your server installation path like this
  
|-[xampp / Wamp path]/
|   |-php/
|   |  |-icudt57.dll
|   |  |-icuin57.dll
|   |  |-icuio57.dll
|   |  |-icule57.dll
|   |  |-iculx57.dll
|   |  |-icutu57.dll 
|   |  |-icuuc57.dll
Copy all these icu*.*.dll files from [xampp / Wamp path]/php to [xampp / Wamp path]/apache/bin

Now restart your server it takes effect.

When server starts you get  error 'MSVCR100.dll' is missing.
Now fix this error

Step #3:
You have to download the missing .dll file from here
https://www.microsoft.com/en-sg/download/confirmation.aspx?id=30679
Download the vcredist_x64.exe file and install them in to your system after installation restart your server to take effects.
Now php intl extension is enabled successfully.

* If you like this post please don’t forget to subscribe Techies Badi - programming blog for more useful stuff


EmoticonEmoticon