Changed the php.ini directory to /etc/php5/apache2/php.ini