I found many errors like this one
[Wed Nov 06 14:34:01 2013] [warn-phpd] mmap cache can't open C:\www\somefile.php (pid 4484 th 1668)
in my Apache error.log
file. I tried to pinpoint the source of the error for some time but with no luck so far.
- I find out that PHP Opcache is not the culprit.
- error_log did not help. I think that my PHP source codes do not affect the error.
My stack: Apache 2.4.6, Windows, PHP 5.4.20
Did anyone encounter the same error?
Note: The error message I get is not the same as, for example, the error:
Mon Dec 1 21:08:20 2008] [warn-phpd] mmap cache can't open /var/www/vhosts/domain.com/httpdocs/file.php - Permission denied (pid 7831)
where there is a reason why mmap can't open the file.
mmap()
is a Linux call. The windows equivalent, AFAIK, isCreateFileMapping()
and that is what should have been reported in the log. I came to this question because I saw mmap in the question title and could have helped you do some hard-core debugging on a Linux box but am useless with Windows. I'd suggest you add a tag of Windows to the question. – Felecia