卸载:

rpm -qa | grep php

所以正确的卸载顺序是:
# rpm -e php-mysql-5.1.6-27.el5_5.3  --allmatches #同名全部卸载
# rpm -e php-pdo-5.1.6-27.el5_5.3  --nodeps #依赖强制

# rpm -e php-xml-5.1.6-27.el5_5.3 
# rpm -e php-cli-5.1.6-27.el5_5.3 
# rpm -e php-gd-5.1.6-27.el5_5.3 
# rpm -e php-common-5.1.6-27.el5_5.3 

再用# php -v

查看版本信息已经没有提示

 mysql同理

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-01-09
  • 2022-12-23
相关资源
相似解决方案