Your Apache log does not show any error. You better configure it to log more info (see ErrorLog and LogLevel) and check Apache’s error.log.Also check the access.log file and make sure the web server received the request for the chat site.Make sure you enable Debug and follow Check HTTP response, check the response body the the 500 response.Enable error settings in your php.ini as said in Debug.Then generate and run your project again, check the Apache error log and the project log file.