使用SSL的AWS PHP Curl

我试图在我的Ubuntu LAMP服务器上安装Amazon Web Services PHP SDK。 每当我运行兼容性检查一切,但curl回来没关系。 我遇到的问题是它报告我没有使用SSLcurl。 我卸载curl然后安装curl-ssl无济于事。

也许你忘了一些包来安装libcurl4-openssl-dev

 sudo apt-get remove --purge php5-curl && \ sudo apt-get install libcurl4-openssl-dev curl-ssl php5-curl 

然后重启服务器:

 sudo apachectl -k restart 

这个问题应该也许在serverfault.com/ubuntu上

我面对同样的问题,与我的EC-2面对上述问题的答案。 然后我find了一个命令

 sudo apt-get install curl libcurl3 libcurl3-dev php5-curl 

这帮助我解决了这个问题。

以供参考

https://askubuntu.com/questions/530323/how-to-make-curl-and-php-available-when-installed-from-xampp?newreg=720483ecd77b4d0aaa09da29c79de8a3