My blog installed the opcache extension on the vps in order to improve operating efficiency, and found that a page returned 502, Other pages are normal.
I checked the php-fpm log and found that the php-fpm sub-process crashed for no reason. Then I turned off opcache and everything was normal. I won’t mention the tossing process in the middle. In short, I finally found out that it should be caused by a conflict with another extension, zend guard. The funny thing is, as long as I put the [zend guard] configuration section in php.ini after [zend opcache], it will be normal. .
I don’t want to go into details anymore. If you are familiar with the bottom layer of php, you can help me answer my questions.