sudo apt-get install php-curl
OR
sudo apt-get install php7.0-curl
在执行此命令时, 系统会在询问你的配置以及是否必须安装时按” y”键
3.重新启动扩展程序, 以避免将来扩展程序出现任何问题
sudo service apache2 restart
之后, 你的ext-curl PHP-7的所有上述步骤均已成功安装并可以使用。
来源:
https://www.srcmini02.com/68707.html
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_36795.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57