How Magento configuration merges work

A few days ago I wrote a blog post on how configuration works in Magento.  While it was fairly comprehensive it missed out on one very important piece of information; how the configuration file merges.  It is this merging that gives Magento the power it does for being extensible and so configurable.  All over theContinue Reading “How Magento configuration merges work”


Magento Performance on PHP 5.3, 5.4 and 5.5RC3

<update>Magento 1 now supports PHP 5.4</update> I woke up this morning with a burning desire to do load tests.  Actually, I woke up with a burning desire to not do the same thing I did yesterday and needed a slight change, so I decided to do a load test.  I wanted to see what theContinue Reading “Magento Performance on PHP 5.3, 5.4 and 5.5RC3”


No-.htaccess httpd.conf file for Magento

A couple of days ago I wrote a blog post on how why you should not use .htaccess files, or AllowOverride != All, on a production web server.  What you should do is place the .htaccess configuration information into your httpd.conf file instead. So of course I was asked what that would look like.  SoContinue Reading “No-.htaccess httpd.conf file for Magento”


Don’t modify index.php in Magento for multi-store configs

unless you really, really have to.  I did some quick Googling on this and found that a number of places recommend making changes to index.php. In my humble opinion it is better to leave the index.php file alone and configure your stores via SetEnv in your Apache config, as is noted in the Magento wiki.Continue Reading “Don’t modify index.php in Magento for multi-store configs”

Magento Security

10 “what to do’s when setting up Magento” and file inclusion attacks

Found this list of things “to do” on Twitter this morning.  I went over the list and saw that there was one item that was missing, which I feel is very important to do.  I saw it in another post on Local File Inclusion for which it seems like there was a local file inclusionContinue Reading “10 “what to do’s when setting up Magento” and file inclusion attacks”


Starting with Magento on Monday

Having spent several years as a consultant with Zend, working with highly scalable applications, developing many of Zend’s training courses, building mobile applications and doing my best to be a generally good guy I am making the move to Magento.  More specifically, MagentoU.  Magento has, for several years, been a company that I have beenContinue Reading “Starting with Magento on Monday”

Cloud Magento

Magento, ESI, Varnish and performance

I have been doing a little playing with Magento over the past couple of days.  I’ve been helping out Ebay/Magento by delivering some of their performance training over the past few months.  I’m by no means the world’s best Magento person at the moment, but I know the architecture pretty well. One of the thingsContinue Reading “Magento, ESI, Varnish and performance”

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?”