问题
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