Install PHP Extension YAML
Install the requirements
$ sudo apt-get install php-pear libyaml-dev
$ sudo pecl install yaml
Add extension to PHP and enable YAML
$ sudo sh -c "echo 'extension=yaml.so' >> /etc/php5/mods-available/yaml.ini"
$ sudo php5enmod yaml
Restart Apache2
$ sudo service apache2 restart