This error is says in the error message that somewhere in the file there's a syntax error. The format of the php.ini has change in versions overtime. In this case it was simple changing the following in /etc/php.ini error_reporting(0); to error_reporting = E_ALL