博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
php卸载
阅读量:4034 次
发布时间:2019-05-24

本文共 1171 字,大约阅读时间需要 3 分钟。

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

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

转载地址:http://mybdi.baihongyu.com/

你可能感兴趣的文章
自定义 select 下拉框 多选插件
查看>>
js判断数组内是否有重复值
查看>>
js获取url链接携带的参数值
查看>>
gdb 调试core dump
查看>>
gdb debug tips
查看>>
arm linux 生成火焰图
查看>>
linux和windows内存布局验证
查看>>
linux config
查看>>
linux insmod error -1 required key invalid
查看>>
linux kconfig配置
查看>>
linux不同模块completion通信
查看>>
linux printf获得时间戳
查看>>
C语言位扩展
查看>>
linux dump_backtrace
查看>>
linux irqdebug
查看>>
git 常用命令
查看>>
linux位操作API
查看>>
snprintf 函数用法
查看>>
uboot.lds文件分析
查看>>
uboot start.s文件分析
查看>>