On my distribution of Kali (2016.2) there was a PHP package v7.0.11 pre-installed. I'd like to use version 5.6 instead. What is the best way to remove it?
I've already tried, looking for some guides online, but PHP 7 is still pretty fresh, so there are not too many threads about it, especially while using Kali. Nevertheless, I found some clues but I didn't manage to do it properly, apparently. A lot of mess with dependencies, and overall, my whole Kali install is now broken.
After purging PHP 7, I'd like to install PHP 5.6, is there an easy way to do it with apt?