Comments on How to install SuPHP on CentOS 7.2
This tutorial describes the installation of SuPHP on centOS 7.2 from source as there are no SuPHP packages available for CentOS 7.2. SuPHP is an apache module that allows PHP to under a different Linux user than the apache user. This improves the security of hosted websites as you can run the PHP scripts of each website under a different user.
8 Comment(s)
Comments
Quote from http://www.suphp.org/FAQ.html :
When can I expect a new suPHP release? suPHP is not being actively maintained at the moment. This might change in the future. You should have a look at the mailing-list for discussions about new releases.The SuPHP software is stable, there are no issues with the current release and it has all features that are needed for this purpose.
After following the entire steps when i run the server i'm getting the php code directly. There is no error is added in suphp_log. But in error_log i got like below.
[Thu Jun 30 13:11:45.480228 2016] [mpm_prefork:notice] [pid 26530] AH00170: caught SIGWINCH, shutting down gracefully
[Thu Jun 30 13:11:46.554175 2016] [core:notice] [pid 26560] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Jun 30 13:11:46.555473 2016] [suexec:notice] [pid 26560] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 30 13:11:46.579910 2016] [auth_digest:notice] [pid 26560] AH01757: generating secret for digest authentication ...
[Thu Jun 30 13:11:46.580623 2016] [lbmethod_heartbeat:notice] [pid 26560] AH02282: No slotmem from mod_heartmonitor
[Thu Jun 30 13:11:46.636736 2016] [mpm_prefork:notice] [pid 26560] AH00163: Apache/2.4.6 (CentOS) PHP/5.4.16 configured -- resuming normal operations
[Thu Jun 30 13:11:46.636774 2016] [core:notice] [pid 26560] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
I don't know what is the issue. Could you please help me on this.
The file
/etc/httpd/conf.d/suphp.conf
should be
/etc/httpd/conf.modules.d/09-suphp.conf
to work
Hello
Everything is fine, except for fopen+fwrite. For some reason I get failed to open stream: Permission denied. Is there a way to fix this? I've tried turning selinux off, but that didn't help.
Hi, sorry for any inconvenient. I've followed all the steps and they have succeed but when I wanna test my suPHP, the page www.example.com/info.php just redirect me to a blank page. Can you help me? Thanks.
https://lists.marsching.com/pipermail/suphp/attachments/20130520/74f3ac02/attachment.patch Has been shut down, what to do?
Suphp is an outdated technology. Better use PHP-FPM with suexec instead.