linux删除mysql php apapche nginx的方法
#whereis php 这个要结合phpinfo 看加载哪个php.ini来决定
php: /usr/bin/php /usr/local/php
删除 /usr/local/php
[root@iZ232j30a95Z mysql]# whereis nginx
nginx: /usr/bin/nginx /usr/local/nginx
#删除/usr/local/nginx
[root@iZ232j30a95Z mysql]# whereis apache
apache: /usr/local/apache
#删除/usr/local/apache
[root@iZ232j30a95Z mysql]# whereis mysql
mysql: /usr/bin/mysql /usr/lib/mysql /usr/lib64/mysql /usr/include/mysql /usr/local/mysql /usr/share/mysql /usr/share/man/man1/mys#ql.1.gz
#删除 /usr/local/mysql 和配置文件/etc/my.cnf