Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th January 2009, 14:36
atrias atrias is offline
Junior Member
 
Join Date: Jun 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default php - what to choose

Maybe this is a little off-topic but i am sure that everyone is interested to know!

In ISPconfig 3 for PHP we have these options
fast-cgi
cgi
mod-php
suphp

For these options please give your opinions regarding ease of installation and usage , problems that might be caused with each method , security concerns , resource usage for each one and anything else you might find useful.
Reply With Quote
Sponsored Links
  #2  
Old 28th January 2009, 19:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

I haven't done any benchmarks, but I guess the fastest methods are fastCGI and mod_php, while fastCGI, CGI and suPHP are more secure because they allow you to run scripts as the web site's user and group instead of the Apache user.

mod_php is the easiest to install.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 28th January 2009, 19:17
atrias atrias is offline
Junior Member
 
Join Date: Jun 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

thank you for your reply!

So mod_php is the default (easiest) and beyond that, if you need to be more secure, you put some more effort and install fastCGI (keeping in mind that both are considered fast).
So after that the other two seem to be less useful.

In a general setup providing hosting service to the public i guess you would choose fastCGI correct?
Reply With Quote
  #4  
Old 29th January 2009, 19:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Quote:
Originally Posted by atrias View Post
In a general setup providing hosting service to the public i guess you would choose fastCGI correct?
Security-wise - yes. If you just want to host for a few people that you know, mod_php is ok, I guess.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 18:26
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 15:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 14:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.