php files download instead of display

elitecarders

Registered
May 21, 2013
1
0
1
cPanel Access Level
Root Administrator
i just upgrade my php version 5.X.X also i added . mod bandwidth / and mod security after that all php files download instead of display i dont know what i need to do
 

bhanuprasad1981

Well-Known Member
Aug 5, 2008
222
0
66
India
not sure if this helps but what php handler did you choose ?i had similar situation when after easy apache compile i was presented only "none" as handler reason for it was tweak settings cpanel process memory option,raise it to 1gb atleast run easy apache choose handler as dso or whatever you like this fixed my problem.
 

KurtN.

Well-Known Member
Jan 29, 2013
95
1
83
cPanel Access Level
Root Administrator
More often than not, this is due to not setting the Apache Handler for PHP applications.
If you log into WHM, then navigate to "Configure PHP and suEXEC", check to see if your handler says "none".
If it does, set it to a handler appropriate for your server's needs.
 

RockSolid

Member
Apr 30, 2013
13
0
1
Above Stars
cPanel Access Level
Root Administrator
More often than not, this is due to not setting the Apache Handler for PHP applications.
If you log into WHM, then navigate to "Configure PHP and suEXEC", check to see if your handler says "none".
If it does, set it to a handler appropriate for your server's needs.
You are a genius. My server was down for few hours due this problem. You saved my life. Just wanted to wish you a great life.

God bless you! :)