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_LIKE="rhel fedora"
PRETTY_NAME="CentOS Linux 7 (Core)"


CentOS Linux release 7.3.1611 (Core)
CentOS Linux release 7.3.1611 (Core)

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 27 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 28 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70