Topic: php not configured in apache 2.4.6 (CentOS) build date Apr 12 2017

Built a CentOS7 server with the latest Apache:
# httpd -v
Server version: Apache/2.4.6 (CentOS)
Server built:   Apr 12 2017 21:03:28

Configure yum to use remi

When using yum install phpmyadmin it installs v5.6 from remi, but doesn't configure apache to use php. Eg, create index.php file in /var/www/html with '<?php echo "hello"' and then go to localhost/index.php it will show the contents of the file instead of hello.

# cat /etc/*release*
CentOS Linux release 7.3.1611 (Core)
Derived from Red Hat Enterprise Linux 7.3 (Source)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)
cpe:/o:centos:centos:7

Re: php not configured in apache 2.4.6 (CentOS) build date Apr 12 2017

Because, we don't want a "hard" dependency on apache + mod_php (people may prefer apache + fpm or nginx + fpm or any other webserver)

Just need to install "php".

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70