I get an error when I want to enter my website
To download the files you want: "application / x-httpd-php"
Please help me
I get an error when I want to enter my website
To download the files you want: "application / x-httpd-php"
Please help me
If you have an access to the Server then you will have add the below mentioned code in your Apache configuration file:
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
Thewebhosting is making the big assumption that you are running DSO (Apache Module) based PHP which has not been established as such yet.
However he is partially correct in that the reason why your server is trying to send PHP files as downloads is because it does not recognize PHP which means either your PHP did not setup correctly or you failed to tell Cpanel which PHP module you wanted enabled.
The first would have shown errors when running EasyApache ...
The later is setup in "Configure PHP and SuExec" under the Apache configuration area in WHM on your server.
You could manually add the directives as thewebhosting suggested but you would need to know what module DSO, CGI, or SUPHP is enabled before you could do this and if those were already enabled then the question would be why is it not working which brings us back to the menu option in WHM that I just told you to go to!![]()