首页 > 解决方案 > 实时服务器 Amazon Web Service 中的 cURL php 不起作用

问题描述

我不知道这有什么问题。但我的卷曲不起作用。我尝试了所有地方的所有研究,我的最后一个选择是这个,我试图删除我的所有代码并只保留这个

echo "before curl";
$curl_handle=curl_init();
echo "after curl";

Then my output is only 
"before curl", so therefore there's a problem with my curl and not other codes.
Someone help me. I deployed it on Amazon Web Service.

Is it possible that it doesn't accept request from CURL? or do I need to install any library?
CURL is working on my local.

标签: phpamazon-web-servicescurlamazon-ec2libcurl

解决方案


推荐阅读