<commit_before># Copyright © 2020 Feature.su. All rights reserved. 
# Licensed under the Apache License, Version 2.0  

# Warning: disable --with-imagick in 30-compile-php-7.1.sh!  There is compile with new ImageMagick

yum -y install libwebp-devel

cd /tmp
wget https://imagemagick.org/download/releases/ImageMagick-6.9.11-29.tar.gz
tar -xvzf ./ImageMagick-6.9.11-29.tar.gz
cd ImageMagick-6.9.11-29
./configure
make
make install

cd /tmp
wget https://pecl.php.net/get/imagick-3.4.4.tgz
tar -xvzf ./imagick-3.4.4.tgz
cd imagick-3.4.4
/usr/local/php71/bin/phpize
./configure --with-imagick=/usr/local --with-php-config=/usr/local/php71/bin/php-config
make
make install

echo 'extension=imagick.so' > /usr/local/php71/etc/conf.d/imagick.ini

systemctl reload httpd
<commit_msg>Update ImageMagick version<commit_after># Copyright © 2020 Feature.su. All rights reserved. 
# Licensed under the Apache License, Version 2.0  

# Warning: disable --with-imagick in 30-compile-php-7.1.sh!  There is compile with new ImageMagick

yum -y install libwebp-devel

cd /tmp
wget https://imagemagick.org/download/releases/ImageMagick-6.9.11-43.tar.gz
tar -xvzf ./ImageMagick-6.9.11-43.tar.gz
cd ImageMagick-6.9.11-43
./configure
make
make install

cd /tmp
wget https://pecl.php.net/get/imagick-3.4.4.tgz
tar -xvzf ./imagick-3.4.4.tgz
cd imagick-3.4.4
/usr/local/php71/bin/phpize
./configure --with-imagick=/usr/local --with-php-config=/usr/local/php71/bin/php-config
make
make install

echo 'extension=imagick.so' > /usr/local/php71/etc/conf.d/imagick.ini

systemctl reload httpd

{'fraction_non_alphanumeric': 0.1433141394753679, 'fraction_numerical': 0.05502239283429303, 'mean_word_length': 3.5072046109510087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4026857', 'n_tokens_mistral': 661, 'n_tokens_neox': 610, 'n_words': 132}