mbsmt
Verified User
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:
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?
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: