我正在设置错误日志,但我无法获取发生错误的 url
所以如果错误发生在http://example.com/birth/ee.php
我希望这个 url 在日志中
这是我的 php.ini 文件
allow_url_include = 1
date.timezone = "Europe/Paris"
;;; log php errors
display_startup_errors = false
display_errors = false
html_errors = false
log_errors = true
track_errors = true
error_log = /home/mysperts/public_html/example.com/birth/php-errors.log
error_reporting = E_ALL | E_STRICT
log_errors_max_len = 0