当安装某个扩展提示错误,显示版本冲突的时候,

只需重新安装高版本就行,

如安装gd的时候,

 yum install php56w-gd 

即可

原文地址:https://www.cnblogs.com/xiaochongzi/p/7717640.html