You should be a little more clear about what is going wrong now; post output from apache2ctl -t
and relevant lines from the Apache error log.
if by "I've removed the package", you mean the ppa:ondrej/php5
one, then you still have to remove apache-2.4 and install 2.2. Before doing this, I would backup /etc/apache2
(cp -a /etc/apache2 /etc/apache2.bak
). Then, it may still not work because the configuration files may have changed. It may be wise to look at /etc/apache2
and see if you can see .dist-old
(or something) files. Those would/could be the config files as they were before you installed 2.4.
BTW, do you have backups and/or have your /etc
in git or bzr? Then it's easy enough to restore /etc/apache2.