cPanel WHMFedoraOperating SystemsRedHatUbuntuWebHosting

Install PHP Intl on cPanel RHEL CentOS Fedora Ubuntu server

PHP Internationalization extension a.k.a. Intl is a wrapper for ICU library which enables PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting etc. in their PHP scripts. The Intl extension may not be installed, present or enabled on the server. There are different steps to install Intl PHP extension on different Linux flavors and troubleshoot the installation.

Intl PHP extension installation on cPanel servers

  • To install PHP Intl (Internationalization) extension on a cPanel server, following PECL can be used
pecl install intl
service httpd restart

Intl PHP extension installation on RHEL / CentOS / Fedora servers

  • To install PHP Intl (Internationalization) extension on a plain RHEL / CentOS / Fedora servers yum can be used as below
yum install php-intl

Intl PHP extension installation on Ubuntu servers

  • On Ubuntu, PHP Intl can be install using apt-get as below
apt-get install php5-intl
sudo service apache2 restart

You must restart the Apache HTTP service for the changes to take effect.

PHP Intl extension is present on server but still not working?

If the extension is successfully installed on the server but still not enabled or working then search for the below extension in the php.ini.


If the extension is commented then remove the comment. If the extension is not present then add the extension
Don't forget to restart Apache service.

Check the PHP extensions status using below command

php -m

Abhijit Sandhan

Love to Automate, Blog, Travel, Hike & spread Knowledge!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button