how to set php error log on windows

允我心安 提交于 2019-12-12 03:12:27

问题


I'm having trouble enabling error logs in php.ini file, please help.

whenever I uncomment this line where the log file is stored, the Wampserver icon stays orange.

;error_log = "D:/wamp/logs/php_error.log" 

I've already enabled error logging:

log_errors = On

回答1:


do you edit the correct php.ini file?

you can also set the error_log path with http://php.net/ini_set

hmm maybe you also should prob it with file:://D:...



来源:https://stackoverflow.com/questions/9551254/how-to-set-php-error-log-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!