In addition to the 500 error, are you getting any mysql errors? It's not very common to receive a 500 error with php applications.
Usually 500 is seen with cgi scripts, folder/file permissions and htaccess.
It's possible that your host is running php as a cgi, which is more restrictive. Have you looked at your server logs to see if it gives you anything?
|