最近laravel本地跑项目完成拉到线上所有接口都是500的格式

这种就是编码错误了,用notepad++看编码会发现是utf-8-bom的格式

直接把编码改成utf-8就OK

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in

 

相关文章:

  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案