find / -name "httpd*" --exec rm -rf {} \; #适用于源码安装方式卸载
yum install httpd php php-devel mysql mysql-devel http-devel #lamp环境
源码安装干净卸载方式
原文:http://www.cnblogs.com/netsa/p/7199253.html