php怎么卸载

php怎么卸载

内容导读

收集整理的这篇技术教程文章主要介绍了php怎么卸载,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1345字,纯文字阅读大概需要2分钟

内容图文

想把PHP卸载干净,直接用yum remove php卸载不干净,可以首先查看安装的rpm包目录,然后按照顺序一个个卸载。

相关推荐:《PHP教程》

1、首先查看机器上安装的所有php相关的rpm包。

[root@localhost nginx]# rpm -qa | grep php php55-php-pecl-zip-1.15.1-1.el7.remi.x86_64 php55-php-gd-5.5.38-7.el7.remi.x86_64 php55-runtime-2.1-5.el7.remi.x86_64 php55-2.1-5.el7.remi.x86_64 php55-php-pecl-jsonc-1.3.10-1.el7.remi.x86_64 php55-php-xml-5.5.38-7.el7.remi.x86_64 php55-php-5.5.38-7.el7.remi.x86_64 php55-php-common-5.5.38-7.el7.remi.x86_64 php55-php-process-5.5.38-7.el7.remi.x86_64 php55-php-mbstring-5.5.38-7.el7.remi.x86_64 php55-php-pear-1.10.5-2.el7.remi.noarch php55-php-cli-5.5.38-7.el7.remi.x86_64

2、按依赖顺序进行删除。

rpm -e php55-php-pecl-zip-1.15.1-1.el7.remi.x86_64 rpm -e php55-php-gd-5.5.38-7.el7.remi.x86_64 rpm -e php55-runtime-2.1-5.el7.remi.x86_64 rpm -e php55-2.1-5.el7.remi.x86_64 rpm -e php55-php-pecl-jsonc-1.3.10-1.el7.remi.x86_64 rpm -e php55-php-xml-5.5.38-7.el7.remi.x86_64 rpm -e php55-php-5.5.38-7.el7.remi.x86_64 rpm -e php55-php-common-5.5.38-7.el7.remi.x86_64 rpm -e php55-php-process-5.5.38-7.el7.remi.x86_64 rpm -e php55-php-mbstring-5.5.38-7.el7.remi.x86_64 rpm -e php55-php-pear-1.10.5-2.el7.remi.noarch rpm -e php55-php-cli-5.5.38-7.el7.remi.x86_64

以上就是php怎么卸载的详细内容,更多请关注Gxl网其它相关文章!

内容总结

以上是为您收集整理的php怎么卸载全部内容,希望文章能够帮你解决php怎么卸载所遇到的程序开发问题。 如果觉得技术教程内容还不错,欢迎将网站推荐给程序员好友。

内容备注

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。


本文关键词:

联系我们

在线咨询:点击这里给我发消息

邮件:w420220301@qq.com