如何在Apache服务CentOS 7中安装模块libphp5.so

I have installed php 5.6.27 in Cent OS 7. Also I uncommented configurtion line in:

LoadModule php5_module       modules/libphp5.so

But I does not have this file in directory modules/.

How can I install this?

The exact source and name of the PHP version installed is important. I too had this problem and had installed php56.x86_64 from remi-safe repo. However it wasn't until I installed php.x86_64 from remi-php56 repo that things worked (and libphp5.so showed up).

I recommend revisiting the version installed and repo source (yum list installed), and then look for an alternative of one or the other, or both (version/repo source).