suphp vs fcgi?

Bryan McClure

Well-known member
Joined
Jul 20, 2016
Messages
194
Best answers
0
Ratings
16
Points
18
#1
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
Joined
Mar 7, 2017
Messages
88
Best answers
0
Ratings
3
Points
0
#2
hi,

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

24x7serverman

Well-known member
Joined
Jul 25, 2017
Messages
651
Best answers
1
Ratings
68 6
Points
28
#3
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
1,710
Replies
6
Views
1,711
Replies
20
Views
782
Replies
3
Views
1,811
Latest Threads
Replies
0
Views
2
Replies
0
Views
26
Replies
2
Views
36
Recommended Threads
Replies
8
Views
1,119
Replies
9
Views
1,860
Replies
6
Views
1,498
Similar Threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

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