Home >Backend Development >PHP Tutorial >服务器 - Centos 卸载php,项目却还能访问

服务器 - Centos 卸载php,项目却还能访问

WBOY
WBOYOriginal
2016-06-06 20:11:081280browse

阿里的ECS centos 6.5
原本yum安装的是php 5.3 ,想卸载装 php5.5

yum remove php*

删除所有php相关的包

rpm -qa | grep php

已经找不到任何包

但奇怪的是php文件还能运行,项目还能正常访问,请问怎么回事?

回复内容:

阿里的ECS centos 6.5
原本yum安装的是php 5.3 ,想卸载装 php5.5

yum remove php*

删除所有php相关的包

rpm -qa | grep php

已经找不到任何包

但奇怪的是php文件还能运行,项目还能正常访问,请问怎么回事?

我猜下,是不是用的apache, 然后mod_php没删除?或者删了没重启apache?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn