[solved] Help! Apache broken after updates

I installed 12 package updates tonight, through webmin, which has broken apache/php (now instead of displaying php files, it asks you to save them - not really a good look for production websites.

I have tried reloading apache2, removing and reinstalling with no success.

I haven't managed to find anywhere about rolling back package updates

Any ideas?

3 Replies

sudo apt-get install libapache2-mod-php5 php5-cli php5-common php5-cgi

stupid update!

You should really do your package management with apt-get or aptitude, not webmin… If you want to update your linode, it's as simple as "aptitude update && aptitude dist-upgrade" or "apt-get update && apt-get dist-upgrade"

Webmin uses apt-get to do its updates. Unfortunately, it makes liberal use of less-than-desirable options (-f, -m, -y, I'm looking at you) and gives little chance for intervention – answering yes to prompts where a human would stop and rethink what they were attempting to do.

Need to get 125MB of archives.
After this operation, you system will be fscked beyond repair.
Do you want to continue [Y/n]? Y

:D

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