problem with including external library
When you get fatal web server/PHP error it is very useful to check the logs. Usually Apache logs are placed in /var/log/apache2/error.log but it may differ.  


  Owner and Group of all files are www-data


I must warn you that www-data should not be an owner for most PHP files. www-data usually needs only read permissions. But it is not directly related to this question.