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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th December 2012, 10:34
xciso xciso is offline
Member
 
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post
Default FastCGI config syntax. Apache2 VS 2.2?

Hello.
In admin > System > Server Config > FastCGI i can choose wich of this i will use:

FastCGI config syntax: "Old Apache 2.0" or "New Apache 2.2"

Wich of them will be best too use?
I have looked at the manual i bought but it dosnt excist there.

Thanks!
Reply With Quote
Sponsored Links
  #2  
Old 16th December 2012, 11:00
Didcot Didcot is offline
Junior Member
 
Join Date: Dec 2012
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by xciso View Post
Hello.
In admin > System > Server Config > FastCGI i can choose wich of this i will use:

FastCGI config syntax: "Old Apache 2.0" or "New Apache 2.2"

Wich of them will be best too use?
I have looked at the manual i bought but it dosnt excist there.

Thanks!
Yeah it does:-

• PHP Options : Specify which PHP modes should be available for the client when he creates/modifies a web site. The following four modes are available: Fast-CGI, CGI, Mod-PHP, SuPHP.

• Fast-CGI:


Advantages:

• Scripts will be executed with user privileges of the web site;
• More than one PHP version can be run as FastCGI;
• Might be better in speed compared to CGI and suPHP.

Disadvantages:

• php.ini values cannot be changed via PHP scripts, vhost files, .htaccess files. But it
is possible to use the Custom php.ini settings field on the Options tab of a web
site in ISPConfig to specify custom php.ini settings (see chapter 4.6.1.1).


• CGI:

Advantages:

• Scripts will be executed with user privileges of the web site;
• More than one PHP version can be run as CGI.

Disadvantages:

• CGI might use a little more memory (RAM) - therefore, it's not recommended to run PHP as CGI on slow virtual servers;
• php.ini values cannot be changed via PHP scripts, vhost files, .htaccess files. But it
is possible to use the Custom php.ini settings field on the Options tab of a web
site in ISPConfig to specify custom php.ini settings (see chapter 4.6.1.1).


• Mod-PHP:

Advantages:

• Speed;
• Needs less memory (RAM) than CGI;
• php.ini values can be changed via PHP scripts, vhost files, .htaccess files.

Disadvantages:

• Scripts are being executed with Apache privileges, which might lead to somesecurity related problems;
• Only one version of PHP can be installed as Apache module;
• You cannot use the Custom php.ini settings field on the Options tab of a web
site in ISPConfig to specify custom php.ini settings (see chapter 4.6.1.1).


• SuPHP:

Advantages:

• Scripts will be executed with user privileges of the web site;
• Each vhost can have its own php.ini file;
• Needs less memory (RAM) than CGI;
• More than one PHP version can be run as suPHP.

Disadvantages:

• php.ini values cannot be changed via PHP scripts, vhost files, .htaccess files. But it
is possible to use the Custom php.ini settings field on the Options tab of a web
site in ISPConfig to specify custom php.ini settings (see chapter 4.6.1.1);
• SuPHP might be a little slower than mod_php.

• Recommendations:

• High-Traffic Web Sites: Fast-CGI + suExec
• Low-Traffic Web Sites: CGI + suExec or SuPHP
Reply With Quote
  #3  
Old 16th December 2012, 11:31
xciso xciso is offline
Member
 
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post
Default

Yeah, but it is not that..
It is in System > Server config > FastCGI..
Reply With Quote
  #4  
Old 17th December 2012, 14:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lόneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Take a look at http://httpd.apache.org/mod_fcgid/mo...d.html#upgrade :

"All directives have been renamed in order to use a common prefix "Fcgid". Underscores in directive names have been eliminated in favor of CamelCase. The old directive names will still work but are deprecated."
__________________
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
  #5  
Old 17th December 2012, 17:38
xciso xciso is offline
Member
 
Join Date: Feb 2008
Posts: 55
Thanks: 0
Thanked 1 Time in 1 Post
Default

Is it other things thats are better if using "new 2.2"?
If I write with new or old style dosn't care me so much.. I just want everything to work
Reply With Quote
  #6  
Old 17th December 2012, 18:20
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lόneburg, Germany
Posts: 35,509
Thanks: 815
Thanked 5,268 Times in 4,130 Posts
 
Default

This is not about being better, the functionality is the same. You just have to use the config style that matches the apache version installed on your server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 18:37
ISPConfig 2.2.14 released till General 48 19th July 2007 23:46
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 00:09
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 4th October 2005 23:53


All times are GMT +2. The time now is 05:37.


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