suphp vs fcgi?

Bryan McClure

Well-known member
Registered
Joined
Jul 20, 2016
Messages
271
Points
18
Can you tell me what is the difference between suphp and fcgi? I see both options in cPanel but I don't know which one I should enable and why.
Your comments would be helpful.
 

neckom

Well-known member
Hosting Provider
Registered
Joined
Mar 7, 2017
Messages
88
Points
0
hi,

If you have enough spare memory then FastCGI is likely the no brainer choice.
 

24x7serverman

Well-known member
Hosting Provider
Registered
Joined
Jul 25, 2017
Messages
651
Points
28
suPHP and FastCGI are the PHP handler which interpret the PHP code in your web application and process it to be sent as HTML (or another static format) by your web server. Web servers can not handle the PHP themselves that is why they need the program to run the PHP. On Apache, there are mainly 4 types of PHP handler as below -


i. mod_php
ii. CGI
iii. FastCGI
iv. suPHP


suPHP -

It runs the PHP outside of the Apache. It will run the script as user instead of Apache that is if you have your own CMS then you can upload the PHP values from your web application. Benefit of this is, if there any attack of particular user that will be restricted to that particular user as the suPHP is user based.

But it is slow and takes more resources on the server. It can not handle the high usage operations so it's not recommended.

FastCGI -

It is recommended PHP handler. It is very secure. It has feature of OPCode caching and memcached. It will use the more memory on the server but very fast so you can have the FastCGI.
 
Older Threads
Replies
2
Views
16,230
Replies
6
Views
4,280
Replies
20
Views
6,709
Replies
3
Views
4,145
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top