Question : Php 500 internal server error received on website but not using xampp at home

I have the same php file on my computer as on the web server, and it loads fine using xampp. However, when trying to load the file on my website, I get a 500 internal server error with a 404 error as well. I wrote to my web host and they said to change my file permissions to  folders have the permission of 755 and the files a permission of 644. They already do. What should I do?

Answer : Php 500 internal server error received on website but not using xampp at home

Thanks. The hosting service solved the problem, although they did not say what they did.
Random Solutions  
 
programming4us programming4us