[apache2 삭제]
sudo apt-get autoremove apache2
sudo rm -rf /etc/apache2
sudo apt-get remove --purge apache2
sudo apt-get clean
sudo apt-get install apache2
[php 삭제]
sudo apt remove php*
sudo apt-get purge 'php*'
sudo apt-get purge php.*
[apache2 삭제]
sudo apt-get autoremove apache2
sudo rm -rf /etc/apache2
sudo apt-get remove --purge apache2
sudo apt-get clean
sudo apt-get install apache2
[php 삭제]
sudo apt remove php*
sudo apt-get purge 'php*'
sudo apt-get purge php.*