Ubuntu

Installing a PHP YAML library on Ubuntu

I've just installed the PHP YAML library which is currently being developed. This will hopefully allow me to write more complex configuration documents than the tradition ini format allows.

The installation process was a bit hit and miss though, with minimal documentation, and a couple of errors on the way.

Ubuntu Packages

First off, you will need the following Ubuntu packages:

$ sudo apt-get install php5
$ sudo apt-get install php5-dev
$ sudo apt-get install php-pear