XAMPP中缺少php错误日志

php.ini contains following parameters:

track_errors=On
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
log_errors=On
error_log="C:\xampp\php\logs\php_error_log"

but "logs" folder is missing in this path. Its not even hidden folder. where to find php error logs?

OS:windows 8.1
php version 5.6.24

If you are sure that you are using the right config option to set the log path, it might be that PHP is not writing to the error log because of a certain type of syntax error. Put your code through a syntax checker like http://phpcodechecker.com/

I solved the problem (I had the same problem as you did).

Somwhy the php systhem won't create the "logs" folder by itselfe. So i dit the folowing:

1) I Created the "logs" folder in the correct location

2) I restarted appache using xampp controlpannel (stop and start).

3) and created an fatal error by using

trigger_error("Some info",E_USER_ERROR);

Then the log file was created by php and was working again.

Hope this helps you.