|
|||
|
Hello
I am trying to tune my server so i can get the best performance for my forum (php files and a few graphics) and my datacenter recomend me to use php as cgi. I need your opinion if that helps and is any minus in this configuration and what i have to do to use that php as cgi? Thank you |
|
||||
|
Quote:
If a minimal performance hit is acceptable or if security is a more important requirement (e.g., such as if there are multiple accounts and web sites on the server, like when in a shared hosting environment), then I would consider using SuPHP as the PHP handler; this will run PHP as CGI but via SuPHP for significantly better security than when using PHP as Apache DSO. I recommend reviewing the following documentation for more in-depth details and comparisons between the available PHP handler options: ApachePHPRequestHandling < EasyApache3 < TWiki
__________________
For hands-on assistance please reference our new support information page: Where should I go for support? cPResources: Support Options - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation -- cPanelDon - Donald Holl, Technical Analyst, cPanel Technical Support |
|
||||
|
If already using SuPHP I recommend to continue using it for the security benefits, but if needing to switch to a different the PHP handler configuration this can be accomplished via WHM at the following menu path:
WHM: Main >> Service Configuration >> Apache Configuration >> PHP and SuExec Configuration Documentation: Configure PHP and SuExec
__________________
For hands-on assistance please reference our new support information page: Where should I go for support? cPResources: Support Options - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation -- cPanelDon - Donald Holl, Technical Analyst, cPanel Technical Support |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| custom php.ini with php handler set as cgi | johny_gjx | cPanel and WHM Discussions | 0 | 02-16-2009 03:54 AM |
| php.ini per dir with php running as cgi | vesko | cPanel and WHM Discussions | 3 | 04-18-2008 08:39 AM |
| make: *** [sapi/cgi/php-cgi] Error 1 on apache update | quicklyweb | cPanel and WHM Discussions | 4 | 09-27-2007 08:32 AM |
| PDO+PDO_MYSQL on php5.2.1+php-suexec (php-cgi)? | PondRicefied | cPanel and WHM Discussions | 3 | 05-16-2007 09:36 PM |
| CGI problam, user can add 'AddHandler cgi-script .cgi .pl' running CGI? | Jedia | cPanel and WHM Discussions | 0 | 02-14-2005 09:49 PM |