I'm deploying PHP environment. And in my project, I use curl function so I also configure curl. But it fails.
Server: Tencent Cloud Server
Operating System: CentOS 7.2
PHP version: 5.6
https://segmentfault.com/img/bVbcnM2?w=668&h=141
https://segmentfault.com/img/bVbcnM3?w=889&h=178
https://segmentfault.com/img/bVbcnM4?w=641&h=150
https://segmentfault.com/img/bVbcnM5?w=1190&h=888
https://segmentfault.com/img/bVbcnM8?w=1262&h=74
I'm so confused. Please help me. Thank you so much!
Did you install php5.6-curl extension?If you did then which manner you installed it? By yum install or from sources.And through the information the loaded php configure file is in
usr/local/bin/php/lib/php.ini
Did you try move or copy a configure file to this directory? If not work ,try
yum install php5.6-curl
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.