php - 实时服务器 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.
解决方案
推荐阅读
- excel - 在 Excel 中将数据从 Sheet1 复制到 Sheet2 的公式
- google-bigquery - Google BigQuery:将数据从一个位置移动到另一个位置
- unity3d - 在 Unity 中安装 Photon 后如何修复错误“执行 com.android.build.gradle.internal.tasks.Workers$ActionFacade 时发生故障”
- linux - 使用 tar 保留存档权限失败
- c++ - 套接字超时:select vs setsockopt
- javascript - 如何将 Cordova 平台\浏览器\www 内容部署到 Azure 应用服务?
- qt - 从 Qt 5.9 升级到 5.12 时出现 qtvirtualkeyboard 问题
- ios - 如何检测自定义框架是否在 iOS 中禁用了调试器模式?
- python - 修改联合查找数据结构
- c# - 我正在尝试使用 AWS KMS 在 asp.net 核心中加密它在本地系统上工作正常。但是当我们在弹性 beantalk 上部署时,它们会出现异常