demine0

Well-Known Member
Mar 25, 2003
57
0
156
I ran easyapache today to upgrade php to the latest version, and it broke my
entire httpd installation. php pages won't display now. They only prompt
browsers to download php files. I believe this may be caused by mod_php module not being loaded. I cannot find where cpanel keeps the configuration files for loaded modules though.

You can view an example of what it is doing here:
http://www.vaninollc.com/phpinfo.php
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
I ran easyapache today to upgrade php to the latest version, and it broke my
entire httpd installation. php pages won't display now. They only prompt
browsers to download php files. I believe this may be caused by mod_php module not being loaded. I cannot find where cpanel keeps the configuration files for loaded modules though.

You can view an example of what it is doing here:
phpinfo()
That PHP script loads as a web page for me just fine. Were you able to get this issue resolved since you made this post?
 

Spiral

BANNED
Jun 24, 2005
2,018
8
193
I ran easyapache today to upgrade php to the latest version, and it broke my
entire httpd installation. php pages won't display now. They only prompt
browsers to download php files. I believe this may be caused by mod_php module not being loaded. I cannot find where cpanel keeps the configuration files for loaded modules though.

You can view an example of what it is doing here:
phpinfo()
This typically happens if the PHP build fails or you don't select a PHP configuration (final popup box at the end of EasyApache build). In that case, the web server does not know how to handle PHP scripts and will treat them as ordinary files to download.