1、sudo apt-get remove apache2 2、sudo apt-get remove apache2.2-common 3、sudo apt-get autoremove (此命令会自动卸载PHP) 卸载完成