Are your Drupal sites running the latest core? 2011-Jan-05 At EchoDitto, we host a lot of Drupal sites. Just about all of our web servers contain more than one completely separate Drupal cores since we develop most of our websites independently. We also keep an eye out on Drupal Security and when to apply core updates. Since we’re not using Aegir, nor do we run every site off of a single multi-site core install, we need a quick and easy way to see what versions we’re running. ...
Combined Apache logs for load balanced web servers 2010-Dec-07 When dealing with a load spike or unexplained poor performance, once of the first things to do is to check the Apache web server logs. However, when dealing with multiple web servers behind a load balancer, it can be cumbersome to check through multiple logs on different machines. Luckily, if you have shared storage, it’s pretty simple to write to a single log file. Apache allows for log file locations to go to a pipe, which means you can redirect the output anywhere else. ...
Native local development environment in OS X 2010-Oct-15 UPDATE: A newer version of this has been posted here. Apple OS X comes with Apache and PHP built-in but need some tweaking to work. It also does not come with MySQL. Because of this, many developers have chosen to use MacPorts, Homebrew, or MAMP to install new binaries for Apache, PHP, and MySQL. However, doing this means your system would have multiple copies of Apache and PHP on your machine, and could create conflicts depending on how your built-in tools are configured. ...
Dropbox CLI for CentOS 5 the easy way 2010-Aug-12 Dropbox hardly needs any introduction; put files in your Dropbox and they show up everywhere else you have Dropbox installed and dropbox.com. A feature about Dropbox that is probably not as widely known is that free accounts come with 30 days of undo history and Pro accounts can get “Pack Rat” that keeps unlimited history of changes. The history of files, including reverting deleted files, was particularly interesting to me, since I could hook in my latest daily MySQL dumps from AutoMySQLBackup to Dropbox and have 30 days of backups for free available from anywhere dropbox. ...
Tidy up /tmp on dev servers 2010-Jul-15 Today I was made aware of some strange MySQL errors on our development server that ended up being related to a lack of sufficient disk space. Upon inspection, the /tmp partition had completely filled up. A majority of the files were temporary files created by the Drupal module devel with devel_themer enabled. Turns out these temporary files are not deleted at the end of a session. There were also CURLCOOKIE files related to cron jobs to hit cron. ...
All I want is PHP 5.2 on CentOS! 2009-May-22 An updated, easier method can be found here. At EchoDitto, most of our servers are running CentOS Linux, which is a 100% binary-compatible version of the industry standard Red Hat Enterprise Linux (RHEL) without any of the fees. The problem with RHEL/CentOS is that they shipped with PHP 5.1.6, and as of this writing PHP is at 5.2.9. That’s not a big deal, being a minor point revision behind, until you come across an application or module that needs a minimum of version 5. ...
Takeaways from The Big Internet Gathering 2009-Apr-24 In March I woke up before the sun and left Dulles Airport to make my way to Austin, TX for South by Southwest Interactive. Having not been to the fabled SXSW before, I was pretty excited. I had heard a lot about what SXSW was supposed to be, what was supposed to be awesome, what would suck, events that would be good and others that would disappoint. I found the panels to be less than what I was generally expecting. ...