View Issue Details

IDProjectCategoryView StatusLast Update
0007096Rocky-Linux-8rpmpublic2024-06-10 15:49
ReporterLénaïc DIONNET Assigned ToLouis Abel  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
OSRocky Linux 8OS Version8.9 
Summary0007096: Did anyone succeed to install and configure suPHP on Rocky Linux 8 ?
DescriptionHi,

I try to find a way to make virtualhosts work on folder /home/user with HTTP2 enabled on apache.
Previously, I used to do it with mpm-itk enabled and LoadModule mpm_prefork_module.
The problem is that mpm-itk is not compatible with HTTP2 and LoadModule mpm_event_module

So i discovered suPHP which should do the job of mpm-itk but ot does not seem to work.

Did anyone succeed to install and configure suPHP on Rocky Linux 8 ?
Find below what I did to install suPHP.

Thanks for your help.

Lenawaii
Steps To Reproduce# dnf install -y http://repo.okay.com.mx/centos/8/x86_64/release/mod_suphp-0.7.2-2.el8.x86_64.rpm

In the Apache Configuration file of a domain, I added the code below:

 <FilesMatch ".+\.ph(p[345]?|t|tml)$">
 SetHandler None
 </FilesMatch>
 
 <IfModule mod_suphp.c>
 suPHP_Engine on
 <FilesMatch "\.php[345]?$">
 SetHandler x-httpd-suphp
 </FilesMatch>
 suPHP_AddHandler x-httpd-suphp
 </IfModule>

Ahd then, I restarted Apache :
# systemctl restart httpd

When I call the domain name, I have a ownership error because the domain name is in /home/user/mydomain.com and to work, the user should be apache.
Additional InformationIf you know how to resolve this or have any other alternative, please share.
Thanks a lot!
TagsNo tags attached.

Activities

Louis Abel

Louis Abel

2024-06-10 15:49

administrator   ~0007393

This site is for bug reporting on the base distribution. It is not meant for general support nor is it for support of third party packages or software.

You are recommended to request assistance at our forums (forums.rockylinux.org) or mattermost (chat.rockylinux.org).

Closing.

Issue History

Date Modified Username Field Change
2024-06-10 06:40 Lénaïc DIONNET New Issue
2024-06-10 15:49 Louis Abel Assigned To => Louis Abel
2024-06-10 15:49 Louis Abel Status new => closed
2024-06-10 15:49 Louis Abel Resolution open => no change required
2024-06-10 15:49 Louis Abel Note Added: 0007393