Redhat 7 / php7 and httpd24


I'm trying to get a virtual server to run filerun. It seems with this operating system and webmin I'm having a time getting the system to meet the system requirements of the software which they claim will work on any shared host system.

I was able to get php7 installed but it required httpd24 on RHEL7. This is directly from their website: rh-php70-php, rh-php56-php, and php55-php are built against httpd24 from Red Hat Software Collections (RHSCL) They will NOT work with the default httpd packages shipped in RHEL 6 or RHEL 7

It appears virtualmin and webmin either has yet to support httpd24 or I haven't figured out where I can get it to work together with it.

Can anyone confirm this?



Project: Webmin Core ยป Virtualmin Virtual Servers

Howdy -- thanks for contacting us!

We hadn't run into any issues with using the PHP packages in the SCL repo with the Apache version provided by CentOS 6 or 7 previously.

We'd like to try and reproduce what you're seeing there -- can you describe what steps you used there to add the SCL repo and install PHP?

Also, do you need mod_php on your server?

I've since reinstalled RHEL7 and have been waiting for some direction before reinstalling virtualmin. I followed these steps:

1 Added repo 2 yum install httpd24 httpd24-mod_ssl 3 yum install rh-php70 rh-php70-php started the service..

I understand that the default httpd24 DocumentRoot resides under /opt now. And that the http conf that webmin is using is no longer active since it wants to use the normal httpd conf.

I'm trying to figure out how to get virtualmin to replace httpd with httpd24 in its settings seamlessly like it did with httpd. It does see the new php 7 install but the virtualhosts are no longer working due to the conf that webmin builds no longer being used.

Configuration File (php.ini) /etc/opt/rh/rh-php70 Path Loaded Configuration /etc/opt/rh/rh-php70/php.ini

Unfortunately adding an alternate Apache version would indeed cause some trouble, as that changes suexec to work from a different DocumentRoot.

Can you share the steps used to add the SCL repo itself (that is, the details of "Step #1" that you shared above)?

And just to verify, is this actually RHEL rather than CentOS?

Sure! :)

subscription-manager repos --enable rhel-server-rhscl-7-rpms

Okay, that helps, thanks!

We unfortunately haven't been able to do much testing with the RHSCL repo there... most of our testing is with CentOS and the SCL repo they provide.

With that CentOS repo, the PHP packages there work well with the Apache version that comes with CentOS and Virtualmin.

I don't imagine that using RHEL, you can setup the CentOS SCL repo? As I'd be most curious if that'd work.

For example, what happens if you try the steps shared here: