我刚刚将我的更改上传到服务器,其中包含向用户发送电子邮件的功能,但在发送电子邮件时我得到无法加载资源:服务器响应状态为 500(内部服务器错误)
控制台错误。我无法追踪错误,在哪里可以找到导致此问题的确切错误?
- 我正在使用 Phalcon 框架
- Phalcon 版本:3.3.1
- PHP 版本:5.6.33
- Nginx
谢谢
最佳答案
在 Linux 系统中
/var/log/[SERVER NAME]/php_errors.log & errors.log
[SERVER NAME] is apache2 - if you are using apache or lampp - when you are using lampp
Windows系统
[SERVER SOURCE ROOT]/logs.
(P.S - This Paths are default configured paths check php.conf)
关于php - 我究竟在哪里可以检查错误日志以了解 500 错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52620418/