nginx_apache with suPHP

mbsmt

Verified User
Joined
Jul 24, 2013
Messages
175
Location
Mashhad, Iran
nginx_apache with suPHP and 2 versions of PHP in DirectAdmin

Hi guys.
My VPS is running DA using Apache web server with custombuld 2.
The current setting in my custombuild configuration is like this:
Code:
#PHP Settings
php1_release=5.6
php1_mode=suphp
php2_release=5.4
php2_mode=suphp

As you can see I am running 2 versions of PHP (5.6 and 5.4) with suPHP mode for both of them.
Now, I decided to set nginx_apache on my VPS as webserver, but I heard I must use it only with PHP-FPM mode.
Please tell me is it true? If I have to change suPHP to PHP-FPM, I will lose the security benefits of suPHP. Am I wrong?
By the way, can I use 2 versions of PHP if I want to use nginx_apache?
 
Last edited:
1) suPHP is end-of-life, it doesn't bring any security benefits when compared with PHP-FPM
2) nginx_apache is compatible with all PHP modes available in CustomBuild (suPHP as well)
3) PHP-FPM is a requirement only when nginx ins installed as a standalone server (webserver=nginx)
4) yes, you can still use 2 PHP versions with nginx_apache
 
1) suPHP is end-of-life, it doesn't bring any security benefits when compared with PHP-FPM
2) nginx_apache is compatible with all PHP modes available in CustomBuild (suPHP as well)
3) PHP-FPM is a requirement only when nginx ins installed as a standalone server (webserver=nginx)
4) yes, you can still use 2 PHP versions with nginx_apache

Thank you Smtalk for your clear and complete answer.
 
Back
Top