Adjective: Comparative form of nerdy: more nerdy.

Installing PHP intl on cPanel/CentOS

I’ve had to install this a bunch of times this week for people, so I figured I would document it here. If you want to install the latest version of libicu, you need to ensure that PHP is not compiled with intl support in cPanel’s easyapache, else it won’t pick up the later version.

Install the latest version of libicu –

cd /usr/src


tar -zxvf icu4c-54_1-src.tgz

cd icu/source

./runConfigureICU Linux


make install

Install the extension

pecl install intl

Restart httpd

/etc/init.d/httpd restart

Then with a phpinfo();  You will see something like:

version 	 PECL-3.0.0
ICU version 	 54.1
ICU Data version 54.1

Leave a Reply

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