Browser does not execute PHP files
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?
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?
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