PHP source code is being displayed when website is loadded

cybergod

Registered
Mar 20, 2013
2
0
1
cPanel Access Level
Root Administrator
Hello,

As the title says, when any php page is opened, instead of executing the php codes the server is sending php source code to the browser. Also in the filemanager, the php files are all having the icons of text files. We checked other accounts in the server, and they are all loading fine. Any idea what the issue is?

regards..
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
I would check the .htaccess file(s) in that account and look for any incorrect AddType or AddHandler directives.