remove php 5.5 ubuntu

Question: I corel x4 portable gratis just went ahead and added PHP7 to my server following a guide by using ondej's PPA.
[email protected]: How can I completely remove php5?
Zend Engine.6.0, Copyright (c) Zend Technologies with Zend OPcache.0.6-dev, Copyright (c), by Zend Technologies [email protected]: sudo apt-get remove -purge php5 php5.6.
When I do sudo apt-get remove php5 (or php5.6) now I get that the package is not installed, but apparently is since I can execute the command.Done Package 'php5.6' is not installed, so not removed Package 'php5' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.How do I delete all php related files so that I can install it back properly again?Orgtrusty1 (cli) Copyright (c) The PHP Group Zend Engine.6.0, Copyright (c) Zend Technologies with Zend OPcache.0.6-dev, Copyright (c), by Zend Technologies [email protected]: php5.6 -v PHP.And just because I know someone would ask - I want to remove it because I see that there are some processes running because of it that I don't want to have.Sudo apt-get purge dpkg -l grep php awk 'print 2' tr "n" " ".Orgtrusty2 (cli) Copyright (c) The PHP Group Zend Engine.6.0, Copyright (c) Zend Technologies with Zend OPcache.0.6-dev, Copyright (c), by Zend Technologies [email protected]: sudo apt-get remove -purge php5 php5.6 Reading package lists.Www-data.0.4 0:00.00 php-fpm5.6 1179 www-data.0.4 0:00.00 php-fpm5.6.Note:If u also have question or solution just comment us below or mail.Solution:3, you can completely remove all PHP packages with this command: sudo apt-get purge dpkg -l grep php awk 'print 2' tr "n" " ".Failing that apt-get remove php5.6-fpm -purge -autoremove.Uncategories Ubuntu: How to remove php.6.
Done Building dependency tree Reading state information.
Orgtrusty1 (cli copyright (c) The PHP Group.