This topic contains 0 replies, has 1 voice, and was last updated by Sogos 10 years, 4 months ago.
-
Topic
-
Just a quick guide to install ICU to be compliant with composer mandatory dependency ICU
123456789101112131415161718192021222324252627282930313233As root:# We start to uninstall default php-intl wich is compiled with ICU 42 (need at least 49)yum remove php-intlyum -y install php-devel php-pearcd /rootmkdir srccd src# Download icu4c sourcewget http://download.icu-project.org/files/icu4c/51.2/icu4c-51_2-src.tgztar zxf icu4c-51_2-src.tgzcd icu/source# Compiling and installing in /opt/icu5c-51_2 folder./configure --prefix=/opt/icu5c-51_2 && make && make install# Compiling PHP intl extension via peclpecl install intldownloading intl-2.0.1.tgz ...Starting to download intl-2.0.1.tgz (149,430 bytes).................................done: 149,430 bytes111 source files, buildingrunning: phpizeConfiguring for:PHP Api Version: 20100412Zend Module Api No: 20100525Zend Extension Api No: 220100525Specify where ICU libraries and headers can be found [DEFAULT] : /opt/icu5c-51_2# Create icu.conf file in /etc/ld.so.conf.d/ with the content:/opt/icu5c-51_2/lib/# Runldconfig# Edit /etc/php.ini add ~ line 937 the lineextension=intl.so#Then restart apacheservice httpd restart
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.