Quote:
Originally Posted by xciso
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
Recent comments
17 hours 20 min ago
1 day 1 min ago
1 day 3 hours ago
1 day 5 hours ago
1 day 13 hours ago
1 day 23 hours ago
2 days 13 min ago
2 days 3 hours ago
2 days 8 hours ago
2 days 8 hours ago