suPHP vs. DSO (mod_php) vs. CGI vs. FastCGI

TheCompWiz

Well-known member
Registered
Joined
Apr 20, 2016
Messages
130
Points
18
I saw these in web control panels' settings, does anyone here explain me what is the difference between DSO (mod_php) and CGI and suPHP and FastCGI, how does it work? do I need all for my hosting?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
These are PHP handlers, this is what executes your php pages.

suPHP runs as a CGI module and its major benefits are stronger security and easy permissions.
DSO runs as an Apache module, DSO also referred to as mod_php, is one of the oldest PHP handlers and its major benefits are speed and the ability to use opcode caching.
FCGI also referred to as mod_fcgid, is one of the newest PHP handlers and its major benefits are CPU performance and caching

You only need to select one php handler, I recommend suPHP as the php script is executed as the owner(user) rather than the web server.
 

Luxin Host

Well-known member
Registered
Joined
Jun 26, 2016
Messages
543
Points
43
These are PHP Handlers.

Out of these I would say Fast CGI is the best as it has both good security and fast speeds which are vital. It does use a lot of memory however its worth it.

I looked online and found a great article which actually thought me a few new points too. it explains all four in detail and very clearly here.
 
Latest Threads
Replies
0
Views
22
Replies
0
Views
41
Replies
1
Views
42
Replies
0
Views
237
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