PDA

View Full Version : [ubuntu] apache php module broken after Hardy upgrade


sp00n
May 2nd, 2008, 07:54 AM
I have upgraded from 7.10 Server to 8.04 server via update-manager.

now, if I try to view any pages served by apache, i get:

Failed to Connect

Firefox can't establish a connection to the server at 10.101.101.9:8090.

if I try

sudo a2dismod php5
sudo /etc/init.d/apache2 restart

and reload in firefox, then I get served the .php file as a download link, so my firewall is not the problem.

My /etc/apache2/mods-available/php5.conf looks like this:

<IfModule mod_php5.c>
AddType application/x-httpd-php .php .phtml .php3
AddType application/x-httpd-php-source .phps
</IfModule>

does anybody know how to fix this?

sp00n
May 2nd, 2008, 10:14 AM
solved.

had to purge apache / php, delete the etc/apache2 and etc/php5 dirs, and reinstall from scratch.

yee379
July 10th, 2008, 02:12 AM
hi,

i'm having the same problem :( could you provide step by step details of how you managed to solve it please?

thanks,