I recently upgraded from PHP 5.3.4 to PHP 5.4.4, and now I want to downgrade. I removed all the packages through
apt-get remove php5 after removing the repository, and then ran
apt-get install php5 but still, Apache can't start now and the error log shows:
[Thu Aug 23 19:01:10 2012] [notice] Apache/2.2.17 (Ubuntu) PHP/5.4.4-4~natty+1 configured -- resuming normal operations
I even ran this to make sure there is no more 5.4.4:
root@server:~# apt-cache policy php5 php5: Installed: 5.3.5-1ubuntu7.10 Candidate: 5.3.5-1ubuntu7.10 Version table: *** 5.3.5-1ubuntu7.10 0 500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu/ natty-security/main i386 Packages 100 /var/lib/dpkg/status 5.3.5-1ubuntu7 0 500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
How do I fix this?