After update php not parsing

HI, i ran an update this morning of the following,

> An update to apache2 from 2.2.14-5ubuntu8.4 to 2.2.14-5ubuntu8.6 is available.

An update to apache2-mpm-prefork from 2.2.14-5ubuntu8.4 to 2.2.14-5ubuntu8.6 is available.

An update to apache2-utils from 2.2.14-5ubuntu8.4 to 2.2.14-5ubuntu8.6 is available.

An update to apache2.2-bin from 2.2.14-5ubuntu8.4 to 2.2.14-5ubuntu8.6 is available.

An update to apache2.2-common from 2.2.14-5ubuntu8.4 to 2.2.14-5ubuntu8.6 is available.

After this apache is not parsing any php pages, has anyone come across this and have a solution?

2 Replies

Did the same thing to me. I was able to just sudo apt-get install php5 again and everything started working again.

Sounds like updating altered your apache configuration.

Don't know how debian does things, but in RPM configuration files are marked so that after installing an update, either the original configuration is left intact and the old one is named something.conf.rpmnew - or the old one is backed up before the fresh one is put in place.

I would be very surprised if Debian systems didn't do the same thing. I only use Debian (ubuntu) as a desktop, and don't serve squat from my desktop, so I don't have to worry - but I bet what happened is your old config was over written and that's why php module was not loading.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct