suphp vs fcgi?

Bryan McClure

Premium Member
Joined
Jul 20, 2016
Messages
128
Best answers
0
Ratings
6
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
548
Best answers
1
Ratings
33 2
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.
 
Thread starter Similar threads Forum Replies Date
MotionGrafika Web Hosting 5
TheCompWiz Web Hosting 2

Similar threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Web Hosting

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.