How to do basic authentication on a php CLI

前端 未结 0 1231
失恋的感觉
失恋的感觉 2021-01-26 13:43

I have a php script on my server which needs to be run by crun. The domain is protected via basic authentication.

The command: sudo /usr/bin/php -auth=user:mypa         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题