What is the curl error 52 “empty reply from server”?

前端 未结 15 2828
忘了有多久
忘了有多久 2020-11-29 02:22

I have a cron job setup on one server to run a backup script in PHP that is hosted on another server.

The command I\'ve been using is

curl -sS http://w         


        
15条回答
  •  攒了一身酷
    2020-11-29 03:12

    It happens when you are trying to access secure Website like Https.

    I hope you missed 's'

    Try Changing URL to curl -sS -u "username:password" https://www.example.com/backup.php

提交回复
热议问题