Apache Update Crashes PHP 5

Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
Hi

Ive just updated Apache using Software -> Apache Update. I chose to upgrade to PHP 5 but now when you go to a website using php the browser asks what program to open the page with.
Can anyone help?

Cheers
Chriz
 

AndyReed

Well-Known Member
PartnerNOC
May 29, 2004
2,221
4
193
Minneapolis, MN
Chriz1977 said:
Ive just updated Apache using Software -> Apache Update. I chose to upgrade to PHP 5 but now when you go to a website using php the browser asks what program to open the page with.
That means Php wasn't compiled successfully. You'll have to see what were the errors, if any reported, and fix them.
 

Chriz1977

Well-Known Member
Sep 18, 2006
191
0
166
Funnily enough it worked if I rebuilt an older version. Could this mean a configuration error that will prevent me upgrading to PHP5? Also, where can I find the log files fopr the build?
Cheers
 

Spiral

BANNED
Jun 24, 2005
2,020
8
193
Either PHP wasn't compiled successfully or the module isn't being loaded (for module installs) ...

Check your httpd.conf file for a "LoadModule" line for PHP and make sure it is NOT commented out!

If you are using SuPHP or phpSuExec then disregard what I just said and it's probably more likely
that PHP didn't compile succesfully and for that I would recommend a manual install of PHP 5 as
opposed to using EasyApache or EasyPHP because those are not so "Easy".