Install PHP Intl on cPanel/RHEL/CentOS/Fedora/Ubuntu server

Internationalization extension aka Intl is a wrapper for ICU librar which enables PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting in their  PHP scripts.

  • To enable PHP Intl (Internationalization extension) on a cPanel server, PECL can be used.

pecl install intl

  • On a plain RHEL/CentOS/Fedora, PHP Intl can be install using yum

yum install php-intl

  • On Ubuntu, PHP Intl can be install using apt-get
 apt-get install php5-intl

Restart Apache service for the changes to take effect.

That's it :)


About Abhijit Sandhan

Abhijit Sandhan
Loves Linux, Blogging, Traveling, Hiking and sharing the knowledge!

Leave a Reply

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

*

CAPTCHA Image

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>