how to enable intl extension in xampp

in this tutorial i will show you how to enable intl extension in xampp and fix errors you just need to follow step by step ut very easy .

in this intl PHP Extension Not Working For Xampp Fix tutorial , first of all you must always have a a saved coppy of your xampp website so be sur to save it if a usb or external ssd or hdd .

what is Intl Extension ?

intl extension is a wrapper for the ICU library, a set of C/C++ and Java libraries that supply Unicode and Globalization guide for software program applications.

It allows PHP programmers to operate UCA-conformant collation and date/time/number/currency formatting in their scripts.

Windows

To enable this extension add the following line to your php.ini file usually found in /php:

extension=php_intl.dll

Other operating systems

Use system package manager or specify compilation flag.

CentOS use:

yum install php-intl

Debian use:

apt-get install php-intl or apt-get install php5-intl

install php intl On Ubuntu 14.04 For php5

sudo apt-get install php5-intl

install php intl On Ubuntu 16.04 For php7

sudo apt-get install php7.0-intl

install php intl On Ubuntu 18.04 For php7.2 

sudo apt-get install php7.2-intl

Restart your apache after

sudo service apache2 restart
How to install Intl extension in Xampp

Manually editing php.ini

This is probably the quickest method to enable php-mcrypt on windows server – all you need to do is:

    Find php.ini (the folder is in : xampp/php/)

past it on your desktop and open it using any text software for example notepad or notepad++

similarly to my image :

php.ini

    • next open and search for:

;extension=php_intl.dll

    •  if exist as

extension=intl

    • then you must rename it to

extension=php_intl.dll

    •   (deponding on xampp/php/ext if there is a file intl.dll or php_intl.dll) you must cheek in your folder xampp/php/ext if there is a file : php_intl.dll
    finally remove “;” and save your php.ini and upload it in your xampp/php folder and restart your server .

as a result if all work fine then no need next step if intl PHP extension is not working you must enable the intl extension then follow next step .

Again go to your folder xampp/php search for  icudt66.dll , icuin66.dll ,icuio66.dll ,icuuc66.dll and all dlls start with icu….dll.

Then coppy all this files and past them to xampp/php/ext and to xampp/apache/bin

Once you have activated the php_intl.dll in the php.ini file you also need to copy php_intl.dll uses from the xampp/php/ext to the Apache/bin .

Then make sure to restart apache server and the extension should be enabled.

As a result intl PHP Extension Not Working For Xampp Fix was done

if there are any other issue and you have any questions or comments, please let us know .