Added a repository so that I could move from PHP 5.3 to 5.5 easily in Ubuntu 12.04.3 LTS. After adding the PPA and following most of the suggestions here https://askubuntu.com/a/109544 it seemed that the PPA didn't handle the upgrade well enough or something was a bit off and things weren't working even after making the necessary config changes post-upgrade.
I removed the PPA and purged a few things and then reinstalled, however things seem even more off now and I can't seem to get back to a proper working state. I backed up all of my configs and have only been trying to get things working as before to no avail. For example:
myusername ~ $ sudo service php5-fpm stop
php5-fpm: unrecognized service
myusername ~ $ sudo /etc/init.d/php5-fpm stop
sudo: /etc/init.d/php5-fpm: command not found
myusername ~ $ ls -al /etc/init.d/php5-fpm
lrwxrwxrwx 1 root root 21 Dec 12 17:00 /etc/init.d/php5-fpm -> /lib/init/upstart-job
I'm not sure how else to go about reverting things, and more than happy to fall back on defaults and drop my configs back but I don't think I've been successful at undoing the upgrade.
How can I repair things, or get things back to a sane working state?