Apache+suEXEC+FastCGI+PHP-FPM+APC - Part 2

Click here: PART 1, if you’ve came to this directly from a Google search or you need to compile the FastASS-CGI combo.

Alright, you should have a working FastASS-CGI Configuration!  Yes, I’ve dubbed it FastASS-CGI (Fast, Apache, suexec, suhosin, Fastcgi+PHP- and APC)  Those last three all go to gether which is why I just dubbed it CGI at the end.  If you have a problem with it, well… fsck you.  :P  Hahahaha, joking aside lets get into the deep and dirty portion of this configuration.

This whole part looks relatively easy but took me the longest of all to figure out.  I plan on explaining how exactly everything works in detail, so for those that already know or those just looking for the answer, sorry you’re going to have to push through this and deal with it.

Click to continue reading “Apache + suEXEC + Suhosin + FastCGI + PHP-FPM + APC – Part 2″

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png

Apache+suEXEC+FastCGI+PHP-FPM+APC - Part 1

This part 1 is going to focus on the Slackware side of things in order to prep your server to use all of the above.  If you are not running Slackware, don’t nessessarily skip this section, as the configure options for compiling everything are still very important and apply to any distro.  If you already have everything recompiled, installed, etc. I would skim this to make sure (if you were recompiled before seeing this) that you used the options I did or at least are familiar with them so that when I reference them later you can apply them to your setup if you choose different options at compile time.  (Wow, that was a mouth full..(that’s what she said..))  Ha ha ha.

Before we start, lets do a benchmark of our current configuration of with php.  Be sure to save the output to comepare it with the end results at the end of Part 2.

Click to continue reading “Apache + suEXEC + Suhosin + FastCGI + PHP-FPM + APC – Part 1″

http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/digg_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/reddit_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/stumbleupon_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/delicious_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/technorati_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/google_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/yahoobuzz_48.png http://learnix.net/wordpress/wp-content/plugins/sociofluid/images/twitter_48.png