Internal Error 500 Apache, but nothing in the logs?

后端 未结 11 579
失恋的感觉
失恋的感觉 2020-11-27 14:36

I\'m getting 500 Internal Server errors when I try to make an HTTP POST to a specific address in my app. I\'ve looked into the server logs in the custom log directory speci

11条回答
  •  一生所求
    2020-11-27 14:48

    Check that the version of php you're running matches your codebase. For example, your local environment may be running php 5.4 (and things run fine) and maybe you're testing your code on a new machine that has php 5.3 installed. If you are using 5.4 syntax such as [] for array() then you'll get the situation you described above.

提交回复
热议问题