Modules php-pecl-acpu and php-pecl-redis in php 5.6

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 7.2
  • PHP-5.6
  • RHSCL

Issue

I need to install php-pecl-acpu and php-pecl-redis on a RHEL 7 system that runs php 5.6 out of RHSCL.
I downloaded the php-pecl-acpu and php-pecl-redis from EPEL but cannot see the modules in PHP 5.6 which runs out of /opt/rh/rh-php56/
How do I bring the EPEL modules into the RHSCL PHP environment?

Resolution

You cannot mix modules from different package repositories( RHSCL vs EPEL )
Perhaps the webtatic approach can help, as they provide a PHP-5.6 built with those module for

CentOS/RHEL 6.7 and 7.1

However note that community packages won't be supported in case of issues.

Root Cause

Mix of different PHP module builts

  • Component
  • php

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments