InMotion Hosting Support Center

Browser does not execute PHP files


IanHinton
Asked:
2012-11-01 10:25 am EST

Hits: 1,460
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

0

jamesr
Staff
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

Social Media Login

   
Social Login Joomla

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

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: support@InMotionHosting.com
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!