@barnzy said in HTTP 500: Internal Server Error:

I went to /var/www/fog/lib/fog/config.class.php to find that there was a password that I had set in the setup, once I had cleared this password I checked the mysql connection again and it was working!

Ofcourse that file is editable, but we don’t recommend people to edit it. Set the correct parameters inside of /opt/fog/.fogsettings and then re-run the installer. ELSE, the very-next-time you run the installer, it’ll be broke again because the installer will set the settings inside of /opt/fog/.fogsettings.
See this as a reference: https://wiki.fogproject.org/wiki/index.php?title=.fogsettings

However, kudos to you for using the troubleshooting article in the wiki!