用rpm -qa|grep php查看有哪些php文件 用rpm -e 文件名进行删除 最后hash -r 转载于:https://www.cnblogs.com/yuezha/p/8705643.html