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
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
That means Php wasn't compiled successfully. You'll have to see what were the errors, if any reported, and fix them.Originally Posted by Chriz1977
Andy Reed
RHCE and CCNA
ServerTune.com
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
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".