dpjj4763 2018-11-23 07:04
浏览 67

为什么这个PHP脚本总是显示“kiriman gagal diterima”(未能收到)?

I have two server, it works on the old server but it don't work if I changed the target site to my new server. It shows "failed to receive" (kiriman gagal diterima). My pc executed this php script to send some data from my pc to the destination server

https://drive.google.com/open?id=1B54KbvdD3EiLGWUI6vqs9g4oGfU56cc_

php 5.6.38 on new server, php 5.6.34 on old server

This is the error.log

[Tue Nov 20 05:32:16.691683 2018] [ssl:warn] [pid 2916:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Nov 20 05:32:16.785283 2018] [ssl:warn] [pid 2916:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Nov 20 05:32:16.816483 2018] [mpm_winnt:notice] [pid 2916:tid 276] AH00354: Child: Starting 150 worker threads.

This is access log from xampp

127.0.0.1 - - [23/Nov/2018:15:54:46 +0800] "POST /present/present/transmit/sync/json HTTP/1.1" 200 39 "http://127.0.0.1/present/present/client/sinkron" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"
127.0.0.1 - - [23/Nov/2018:16:12:06 +0800] "POST /present/present/transmit/sync/json HTTP/1.1" 200 39 "http://127.0.0.1/present/present/client/sinkron" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"
127.0.0.1 - - [23/Nov/2018:18:04:51 +0800] "POST /present/present/transmit/sync/json HTTP/1.1" 200 39 "http://127.0.0.1/present/present/client/sinkron" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"
127.0.0.1 - - [23/Nov/2018:18:05:50 +0800] "POST /present/present/transmit/sync/json HTTP/1.1" 200 39 "http://127.0.0.1/present/present/client/sinkron" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"

a co worker said the curl isn't running on the new server but last time I checked it, curl is already enabled.

I'm using ubuntu 18.04 bionic on new server, old server is using ubuntu 16.04 xenial

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
    • ¥50 有数据,怎么用matlab求全要素生产率
    • ¥15 TI的insta-spin例程
    • ¥15 完成下列问题完成下列问题
    • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
    • ¥15 YoloV5 第三方库的版本对照问题
    • ¥15 请完成下列相关问题!
    • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
    • ¥15 求daily translation(DT)偏差订正方法的代码
    • ¥15 js调用html页面需要隐藏某个按钮