zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

opcache.error_log to stderr writes to apache error lgo in different format #203

Closed nathanhruby closed 7 years ago

nathanhruby commented 9 years ago

Hi, When setting "opcache.error_log=" in the opcache.ini file, error logs are produced and sent to apache as expected. However they are logged in a very different format from other PHP log entries:

[Fri Jan 30 13:53:01 2015] [error] [client 10.13.14.136] PHP   2. fclose() [nrh: redacted remaining error]
Fri Jan 30 13:53:14 2015 (19328): Warning Not enough free shared space to allocate 698704 bytes (687424 bytes free)
Fri Jan 30 13:53:14 2015 (19328): Warning Not enough free shared space to allocate 329536 bytes (241264 bytes free)
Fri Jan 30 13:53:14 2015 (19328): Warning Not enough free shared space to allocate 36368 bytes (30968 bytes free)
[Fri Jan 30 13:54:01 2015] [error] [client 10.13.14.136] PHP Warning:  flock() [nrh: redacted remaining error]

Environment:

nathanhruby commented 7 years ago

I no longer use this combo and if needed this bug should be reported upstream as part of core. Closing.