This one was a long one. But the answer was so blindingly simple in the end.

oauth.so is an extension for PHP that allows you to easily & reliably use the OAuth Protocol for authentication with external APIs.
It can be installed via pecl, and if you’re running XAMPP / MAMP on a Mac, chances are you already have pecl installed & setup.

So, let’s get started. Continue reading »

Whilst struggling with installing oauth.so on the LAMP stack on my Mac, I came across this particular annoyance.
Running “sudo pecl install oauth” would download, unpack and start building the extension, however at a certain part of the process it would fail, whining about “pcre.h” not existing.

So I did what I do best; spent a few hours figuring out what was going wrong.  Continue reading »

I’m quite a fan of Amazon AWS, and at one point I needed to develop a situation where I could back up all databases on an Amazon EC2 Server to an Amazon S3 Bucket in an automated, scheduled manner.

My EC2 Server was running Fedora, so the commands in this guide (namely yum) are all present in Fedora, but may not be present in other Linux OSs. Continue reading »

I encountered an annoying issue today.

I was setting up the .htaccess files for a website I was hosting on a brand new server, and the mod_rewrite URLs resulted in 404s.
Continue reading »

© 2012 The Life of a Dev Suffusion theme by Sayontan Sinha