curl curl_exec 报错 Problem with the SSL CA cert (path? access rights?)

使用cul扩展的时候提示 Problem with the SSL CA cert (path? access rights?) 或者使用yum 进行更新或者安装软件的时候提示失败php

有一种可能就是系统的ca包没有更新curl

包名为php-fpm

ca-certificatesurl

更新一下这个包通常经过yum安装或者更新软件就没问题了it

curl扩展仍是提示这个问题 须要重启一下PHP 从新加载一下扩展才能解决问题扩展

 yum -y install ca-certificates软件

pkill php-fpmyum

 /usr/local/php/sbin/php-fpm fpm

相关文章
相关标签/搜索