Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

cURL php in live server Amazon Web Service not working

$
0
0

I don't know what's the problem with this. But my curl doesn't work. I tried everything research everywhere and my last option is this, I tried to remove all my code and remain only this

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.

Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>