PHP not executing,but downloads as text

Avatar
  • Answered
Hi
I have just restored a Joomla website to a new acocunt.
Somehow php is not executing, I download the entire file. What is wrong??

Morten
Avatar
Arn
Hello Morten, Sorry for the problem with PHP. Generally, this kind of thing is associated with the PHP version that's running. The base account is based on PHP 5.3+. I can't see what account you're talking about as your main one shows no files in it (which typically means we don't have access). If you want for us to continue looking at the issue, then please provide us a URL referring to the specific domain. Otherwise, you can try adding an addhandler in the .htaccess file. Here's an example of how it could be added in the .htaccess file: AddHandler application/x-httpd-php5 .php If you need help check out What is the .htacess file. I hope that helps to fix your issue! If you need further assistance, please provide us a little more information and we can investigate the issue further. Regards, Arnel C.