<commit_before>#!/usr/bin/env bash

echo 'install Intl for php56'

#install required library
yum install -y libicu
yum install -y icu
yum install -y libicu-devel.x86_64

/usr/bin/pecl install intl

chmod +x /usr/lib64/php/modules/intl.so

echo 'enabling intl in php'
sed -ri '/;extension=php_xsl.dll/a extension=intl.so' /etc/php.ini 
#TODO is this the best way??


echo 'restarting httpd'
systemctl restart httpd.service

echo 'Intl installed'<commit_msg>added compilers to prerequisites fo intl<commit_after>#!/usr/bin/env bash

echo 'install Intl for php56'

#install required library
yum install -y icu libicu libicu-devel.x86_64
yum install -y gcc gcc-c++ autoconf automake

/usr/bin/pecl install intl

chmod +x /usr/lib64/php/modules/intl.so

echo 'enabling intl in php'
sed -ri '/;extension=php_xsl.dll/a extension=intl.so' /etc/php.ini 
#TODO is this the best way??


echo 'restarting httpd'
systemctl restart httpd.service

echo 'Intl installed'
{'fraction_non_alphanumeric': 0.10482180293501048, 'fraction_numerical': 0.016771488469601678, 'mean_word_length': 4.276243093922652, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6462068', 'n_tokens_mistral': 389, 'n_tokens_neox': 360, 'n_words': 111}