Hello I want to ask what do you recommend me to check on easy apache build to get the best php performance possible? The server is dedicated and very powerfull and it has only one account in it. I am using cpanel and Centos. Is it better to use DSO or Fcgi ? At the moment i have check for build the: Asis Cache Disk cache Env Expires Mod fcgid File cache File protect Headers Mpm prefork proxy version Bcmath CGI Curl Ftp GD Iconv Imap Magic Quotes Mbregex Mysql Mysql of the system POSIX Path Info Check Pear Sockets TTF Zip Zlib So what do you think i must add or remove to get the maximum performance for php from Apache and php? Some users recommend me to use mod_php and some fast cgi and i don't know what are those and which is better and how to get them run using the easy apache build Please help me. Thank you
Ok i will wait for a few more opinions and recomandations fast cgi is the fcgid in php handler options? What do you think that i must remove or add from the above list on easy apache build? Thank you
yes fast cgi is mod_fcgid, If you are going to use fastcgi as php handler, than yes you should add it before compiling easyapache. However there are some other thoughts regarding to fastcgi + eaccelerator vs dso + eaccelerator. fastcgi + eaccelerator can be used with mpm_worker, which is preferrable for high traffic website. On the other hand, dso + eaccelerator have better speed in php handling but can only be used with mpm_prefork. And if you are going to use either of them in shared environment, mod_security with custom ruleset is a must! or else your server will be unsecure.