Performance

Performance of Apache 2.4 with the event MPM compared to Nginx

I wrote a little while ago about how, for running PHP, Nginx was not faster than Apache.  At first I figured that it would be and then it turned out not to be, though only by a bit. But since Apache also has an event-based MPM I wanted to see if the opposite results wereContinue Reading “Performance of Apache 2.4 with the event MPM compared to Nginx”

Questions

What SSL $_SERVER variables are available in PHP

I found myself wondering what HTTPS variables were available in the $_SERVER variable today and didn’t find a specific list (and didn’t have mod_ssl installed).  So as a public service, here is what my server says. array(58) { [“HTTPS”]=> string(2) “on” [“SSL_VERSION_INTERFACE”]=> string(13) “mod_ssl/2.2.3” [“SSL_VERSION_LIBRARY”]=> string(25) “OpenSSL/0.9.8e-fips-rhel5” [“SSL_PROTOCOL”]=> string(5) “TLSv1” [“SSL_SECURE_RENEG”]=> string(4) “true” [“SSL_COMPRESS_METHOD”]=> string(4)Continue Reading “What SSL $_SERVER variables are available in PHP”

Magento Opinion Questions

Why is FastCGI /w Nginx so much faster than Apache /w mod_php?

I have a new post on using Jetty with PHP-FPM that, if you think this is interesting, you should check that one out. (this post has a sister post on Apache’s event MPM compared to Nginx) I was originally going to write a blog post about why NginX with FastCGI was faster than Apache with mod_php.Continue Reading “Why is FastCGI /w Nginx so much faster than Apache /w mod_php?”