+1 vote
in Operating Systems by (60.2k points)
I installed PHP5.6 on Debian 12 machine. Now I want to delete it. How can I completely delete it from the machine?

1 Answer

+3 votes
by (73.6k points)
selected by
 
Best answer

You can run the following command on the terminal to delete PHP5.6 from your machine.

sudo apt purge php5.6*

After running the above command, go to the folder /etc/php and delete the folder titled "5.6". Thus, PHP5.6 will be completely removed from your machine.


...