Install php71-php-intl with a more recent version of ICU

ensensis

Registered
Jan 27, 2018
1
0
1
Costa RIca
cPanel Access Level
Root Administrator
Hello, everyone.
I need to install php71-php-intl as required by my client. I know that it could be installed via EasyApache 4, however my system is running a ICU version too old (4.2). I need to install this extension compiled with a ICU version most recent as possible.
Please, let me know how can I upgrade ICU version let say 57v in order to install php71-php-intl.

PS: Searching in this forum I found a very similar topic: Internationalization extension version upgrade
The users states thar ICU is found in EasyApache 4, but I do not see it there.

/etc/redhat-release:CentOS release 6.9 (Final)
/usr/local/cpanel/version:11.68.0.27
/var/cpanel/envtype:virtuozzo
CPANEL=release
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
The users states thar ICU is found in EasyApache 4, but I do not see it there.
Hello,

You should see the following as part of the output when running a command such as "/opt/cpanel/ea-php71/root/usr/bin/php -i|grep icu":

'--enable-intl=shared' '--with-icu-dir=/usr'
Thus, you could replace the existing ICU RPM with a custom one if you prefer, but keep in mind that is unsupported. I recommend reaching out to the developer of the script that's getting installed to verify if this is a requirement and if it's worth the effort to manually install a new RPM.

Thank you.