Installed php 7.1.33 but how to integrate it with Apache?

[email protected] ("ohaya via php-install")
Newsgroups php.install
Message-ID <[email protected]>
Hi,

I have an Apache 2.4.29 instance and I am trying get PHP working with it.

This is on RHEL 7.9.

I installed php via "yum install" and now I have the following packages installed:

php-7.1.33-16.el7.remi.x86_64
php-json-7.1.33-16.el7.remi.x86_64
php-cli-7.1.33-16.el7.remi.x86_64
php-common-7.1.33-16.el7.remi.x86_64

I think that in order to integrate it with my Apache, I need a mod_php, or maybe a mod_php7.1, but I cannot find it anywhere.  I also checked my Apache build environment, and I don't see any source for mod_php....  so I was wondering how I can get that?  

Also right now, (and without the module) when I access something like "info.php", I am getting a blank page, and when I do "view=>source" it is just showing me the source of the "info.php" file, so am I correct that if I get the mod_php and do an LoadModule, then the php will start executing?

Thanks,
Jim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.