How to install libphp5.so module in Apache to serve CentOS 7

I installed php 5.6.27 on Cent OS 7. In addition, I uncommented the configuration line in:

LoadModule php5_module modules/libphp5.so 

But I do not have this file in the modules/ directory.

How to install it?

+7
source share
1 answer

The exact source and name of the installed version of PHP is important. I also had this problem and installed php56.x86_64 from a remy safe repo. However, only after I installed php.x86_64 from the remi-php56 repository did everything work (and libphp5.so appeared).

I recommend reviewing the installed version and repo source (installed yum list) and then looking for an alternative to one or the other or both (version / repo source).

0
source

Source: https://habr.com/ru/post/1012102/


All Articles