Some Fun with the TARDIS, HTML5 and CSS3

Just for fun, I thought I would have a play around with some WebKit CSS transitions and the HTML5 <audio> tag to see if I could simulate the TARDIS landing :)

Here’s what I came up with (currently only works in Safari): TARDIS, HTML5 and CSS3 WebKit Transitions

Posted in web at May 19th, 2010. No Comments.

Xdebug Tailored Installation Instructions with PHP 5.2 and Ubuntu 10.04

I was really impressed with the Xdebug Tailored Installation Instructions earlier today. Setting up a dev machine at my new job wasn’t going quite according to plan because, as nice as Ubuntu 10.04 Lucid Lynx is:

  1. Installing PHP via sudo apt-get install php5 installs the latest version from the repositories (version 5.3 at the time of writing)
  2. We do a lot of work in Drupal, mostly version 6 which isn’t compatible with PHP 5.3 (and quite a few modules that work with Drupal 6 don’t work with Drupal 7 apparently – Drupal 7 plays a lot nicer with PHP 5.3 by all accounts).
  3. So it was necessary to uninstall all the PHP 5.3 packages, add the karmic repositories to the sources.list then reinstall PHP – this time PHP 5.2

Once all this was done, it was time to install Xdebug. The tailored installation instructions seemed the best option as I’d just had to revert to a previous version of PHP. And, it couldn’t have been simpler or more straight-forward to do:

  1. Go to http://xdebug.org/find-binary.php, paste in the HTML from your phpinfo() output and submit the form
  2. You’ll get a nice summary and some instructions to follow :)
    Summary

    Summary

    Instructions

    Instructions

After following the instructions, restart apache and reload your phpinfo() page: if your experience is anything as good as mine you should see all the xdebug configuration options set up nicely and ready to go.

Posted in devtools at May 18th, 2010. No Comments.