Update killed PHP

On thursday I got a friendly little message: “An update to apache2 2.2.9-10+lenny4 is available : New version released”. So I thought why not. Oops.

I am only a beginner with VirtualMin and haven’t been using linux (in this case Debian 5 - lenny) very long but on the whole I’ve been impressed and learned lots. On Xubuntu on my laptop Iots of updates are released, and install them fairly often. All is well.

However installing the aformentioned “apache2 2.2.9-10+lenny4” seems to have removed libphp5.so entirely from my server. Neither find or locate could could find it and Apache wouldn’t run without it.

I went and had a dig on Debian’s package site and couldn’t find any mention of PHP in relation to it but since apt-get reported the php5 meta package was already installed I guessed the package “libapache2-mod-php5” may help… it did - problem fixed.

So after my little rant, I guess I wanted to ask how I could have known this may happen? Also I realise this is probably more of a Debian question than a VirtualMin one but could anything in VirtualMin have contributed to this. I can’t believe an updated package should behave like this - or am I missing somthing?

I’m not familiar with Debian’s server software. They do things the Debian Way…

Apache is in the repository of Virtualmin. I think you may want to update from that repository to be on the safe side. Joe/Eric can advice on this much better.

Yeah, you aren’t the only one to run into this – there’s a few issues in the tracker along these lines: