Heim  >  Artikel  >  Backend-Entwicklung  >  服务器 - Centos 卸载php,项目却还能访问

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

WBOY
WBOYOriginal
2016-06-06 20:11:081235Durchsuche

阿里的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?

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn