InMotion Hosting Support Center

Browser does not execute PHP files

2012-11-01 10:25 am EST

Hits: 2,931
I'm migrating from my old host to InMotion, and keeping my old stuff active until I get everything running on IM.
I've encountered a problem. My browser executes HTML files, but not PHP files. It wants to download them. I've found the same problem in my Joomla website and also a phpBB forum. So it doesn't seem to be related to any specific software - just PHP files in general.
The website and the forum are in different domains.
Any clues please?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


5,889 Points
2012-11-01 4:33 pm EST
Thank you for your question IanHinton!

The following code in the .htaccess is the cause of this problem.

AddHandler application/x-httpd-php5s .php

I commented it with a #. You should see them load now.

Best regards

James R

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!