Your current version of cURL php5 module is 7.29.0, which can prevent services that require TLS v1.2 from working correctly. It is recommended to update your cURL php5 module to version 7.34.0 or higher.
问题明显是要我们升级linux curl 的版本
查看curl 的版本
1
curl --version
创建一个源文件,并添加下面的内容:
1 2 3 4 5 6 7
vim /etc/yum.repos.d/city-fan.repo [CityFan] name=City Fan Repo baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/ enabled=1 gpgcheck=0