Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- apache2 update breaks lamp on ubuntu


jamie - 8:33 am on Sep 30, 2010 (gmt 0)


hi lammert

fully standard install. although right at the beginning of setting up this system i did manually compile php5, later overwriting it with the standard packages. maybe this had an adverse effect?

so far, i have:

> apt-get remove php5 (and all necessary phph5 packages)
restarted apache
> apt-get install php5 (and all necessary packages)

however the php module wasn't being loaded in apache and i couldn't see phpinfo()

so i then had to
> apt-get --purge remove libapache2-mod-php5

and then
> apt-get install libapache2-mod-php5

i now have a full complete php5 installation. phpinfo() has all the modules loaded. i still can't connect to mysql, but i'm sure i can fix that :)

nearly there...

but coming back to your question, the versions it was running were the latest pkgs. i update the machine every time there is a bugfix. i left it on last night downloading the apache2 update. after rebooting this morning LAMP was broken.

it seems as though i just need to reinstall the php and php-mysql packages after the apache install, so that they are configured again correctly with the newest version of apache2. odd, cos i've never had a problem with ubuntu LAMP updates before.

cheers


Thread source:: http://www.webmasterworld.com/linux/4209220.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com