When you get that 500 error normally a error log is created in the folder it is run or in the root folder.

Check and see if there is one to give us more information.