Mcrypt installation process Install epel-release repo if you do not already have it installed # yum install epel-release Install libmycrpt and libmcrypt-devel rpms needed for the PHP extensions. # yum install libmcrypt libmcrypt-devel Update all Pecl php versions. # for version in $(ls /opt/cpanel|grep ea-php); do /opt/cpanel/${version}/root/usr/bin/pecl channel-update pecl.php.net; done Install Mcrypt PHP extensions via Pecl for PHP72 and PHP73 # /opt/cpanel/ea-php72/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.1
# /opt/cpanel/ea-php73/root/usr/bin/pecl install channel://pecl.php.net/mcrypt-1.0.2
If it installs successfully it should look something like this at the end of each step. Build process completed successfully Installing '/opt/cpanel/ea-php72/root/usr/lib64/php/modules/mcrypt.so' install ok: channel://pecl.php.net/mcrypt-1.0.1 Extension mcrypt enabled in php.ini Build process completed successfully Installing '/opt/cpanel/ea-php73/root/usr/lib64/php/modules/mcrypt.so' install ok: channel://pecl.php.net/mcrypt-1.0.2 Extension mcrypt enabled in php.ini Restart Apache/Litespeed to make the new PHP extensions active. # service httpd restart Like this: Like Loading...
The PHP 7.4 is the latest stable release of PHP. The CentOS 7 official software repositories have PHP 5.5 which has reached the end of life and no longer actively maintained by the developers. Firstly, we will need to enable epel repo and then remi repo. Use the following command…
April 3, 2020 In "CentOS"
cPanel EasyApache 4 Installing Redis and Redis PHP extension Installing the Redis daemon: for CentOS 6/RHEL 6 rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm yum -y install redis --enablerepo=remi --disableplugin=priorities chkconfig redis on service redis start for CentOS 7/RHEL 7 rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum -y install redis --enablerepo=remi --disableplugin=priorities systemctl…
May 19, 2019 In "CentOS"
How to install ImageMagick With PHP-imagick On Plesk Server. ImageMagick Installation [code][root@server ~]# yum install ImageMagick[/code] [code][root@server ~]# yum install ImageMagick-devel[/code] PHP-imagick Installation [code][root@server ~]# yum install gcc[/code] [code][root@server ~]# yum install make automake[/code] [code][root@server ~]# yum install php-pear[/code] [code][root@server ~]# yum install php-devel[/code] [code][root@server ~]# pecl install imagick[/code]…
September 29, 2013 In "CentOS"
Post navigation