Open In App

How to Install PHP intl extension in Ubuntu?

The Internationalisation (Intl) extension is a wrapper for the ICU library, a collection of C/C++ and Java libraries that provide Unicode and Globalisation support for software applications. It tends to closely follow ICU APIs so that people having experience working with ICU in either C/C++ or Java could easily use the PHP API.

Intl consists of several modules, each of them exposes the corresponding ICU API:



Verify the installation of php-intl on Ubuntu

Open terminal on your ubuntu system and type the following command

dpkg –list | grep php-intl



If you get no result like my output, then follow the steps below to install php-intl.

Step 1: Update your system packages.

sudo apt-get update -y

Step 2: Run the command for installing php-intl

sudo apt-get install -y php-intl

Again verify the installation

Your system is installed with php-intl.

Article Tags :