How To Configure fully support php 7 & Apache 2.4.x Modules On Centos 7?

1 post / 0 new
#1 Fri, 02/03/2017 - 23:49
wpfqouta's picture

How To Configure fully support php 7 & Apache 2.4.x Modules On Centos 7?

I successfully install multy php version php56 php7.0 and php7.1 with various modules that I need from remi repository and can be read virtualmin, why wear remi repo? Just remi repo which has a complete module php and apache. eg mailparse. After completion of installing php i delete remi repository

But I want php7 directly from virtualmin/webmin, so there are many modifications that I do, in order to avoid conflicts when updates virtualmin.

Usually remi repository automatically install modules needed by php module that we install. I'm having problems with httpd module, I do not see httpd module for php7. I just look in the directory /usr/lib64/httpd/modules

Error when installing memcached for php70 and php56:

---> Package php70-php-pecl-memcached.x86_64 0:3.0.0-0.4.20161207gite65be32.el7.remi will be installed
--> Processing Dependency: for package: php70-php-pecl-memcached-3.0.0-0.4.20161207gite65be32.el7.remi.x86_64
---> Package php70-php-pecl-msgpack.x86_64 0:2.0.2-1.el7.remi will be installed
--> Finished Dependency Resolution
Error: Package: php70-php-pecl-memcached-3.0.0-0.4.20161207gite65be32.el7.remi.x86_64 (remi-safe)

I want to leave php 5.4 because WHMCS and some of my websites need a minimum of PHP 5.6, also php 5.4 not supporting again from vendor.

Because I am not an expert recompile module, please explain how to install php7 correctly, and all module needed also cgi/fcgi module.

Tanks For Help.