Installation Drupal versus WordPress on Nginx


Now if you have come here to learn how to install wordpress or drupal on ngnix you will be out of luck, sorry.

This is just my biased experience of installing  wordpress 3.8 compared with drupal 7.

Now when attempting to install a cms like Drupal or WordPress on Nginx the first thing to do is to find good documentation for reference. The choice is clear for Drupal and I always point people towards a guy called perusio github here but the choice was not so clear looking for wordpress ones,  mainly due to the number of them, too much choice. Perusio also has a wordpress configuration but it has not be changed for over two years and I wanted an up to date one mainly for security and performance reasons. I decided to use this link in the wordpress site.

I’ve installed many Drupal sites with the support of peruio’s config’s and when I’m installing more than two sites at once I tend to use drush for optimum workflow and never had any issues.

Now because I would be sharing my drupal and wordpress sites both on nginx and had to double review that the existing nginx.conf file was ok to support wordpress as well. After verifying that I added a new upstream configuration for the php fastcgi  and it’s corresponding php-fpm pool.

Now I was ready to start configuring the wordpress nginx files. Unfortunately it was not totally smooth sailing with a couple of errors being raised when reloading nginx. After trail and error I finally got it up and running but will revisit the configs from a performance and security perspective.

For me the Drupal config was definitely the winner and it sort of makes sense, most Drupal people refer to a single source of information in persusio’s configs where as due to word press’s size there are a number of documents all explaining how to do the same thing and some of those documents are base on other documents, which makes the choice not so clear cut and with potential issues as I found out.

Leave a comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>