I installed the latest XAMPP server with PHP 7 (update: also checked PHP 7.1) (on my Windows 10 system). I wanted to use opcache , so I included it in php.ini .
[opcache] zend_extension=php_opcache.dll opcache.enable=1 opcache.enable_cli=0 opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000
Now with this change and almost every page refresh, I get this error from Apache:
AH00428: Parent: child process 3748 exited with status 3221226356
So the page is loading and loading ... waiting for Apache to start. When I turn off opcache (by setting opcache.enable=0 ), Apache does not restart and everything works fine (of course, skipping the slower theme of the web application).
Everything works fine when loading an application on XAMPP with PHP 5.6 with opcache enabled.
UPDATE (GIF image added):
As you can see, sometimes the page is updated, as it should be. But sometimes it updates much longer, and at that moment Apache restarts.

EDIT:
To be honest, I abandoned this application and worked with PHP on Windows (I worked on it for about 10 years with PHP & lt; = 5.6). It is very difficult / impossible (yet) to make PHP 7.x work on this OS (with Opcache). I decided to use Ubuntu and the server created using Docker . Everything is easier to configure (especially with Docker) and works faster. I advise everyone to do the same;).
source share