Monday, February 21, 2022

[SOLVED] How to install php55-php-mcrypt with scl-utils?

Issue

It's a known fact that on Fedora/RHEL/CentOS 7.x based systems PHP 5.4.16 is the supported version. However, for my application I needed PHP 5.5 and I installed it from RHEL-recommended scl-utils repository as explained on https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Developer_Guide/scl-utils.html

The problem is that I have successfully installed all required packages except php55-php-mcrypt:

yum install php55-php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.sonic.net
 * epel: mirror.hmc.edu
 * extras: mirror.keystealth.org
 * updates: mirrors.easynews.com
No package php55-php-mcrypt available.
Error: Nothing to do

Could anyone recommend a way to get this package installed?


Solution

Explanation why "mcrypt" is a very bad idea, and is not part of standard repository : About libmcrypt and php-mcrypt

For people who want to use the official RHSCL packages on RHEL (which is also available in centos-scl repository), you can find additional packages in the community repositories:

Else, yes my repository is an alternative, see the Configuration Wizard



Answered By - Remi Collet
Answer Checked By - Dawn Plyler (WPSolving Volunteer)