Opcache causes php-fpm to crash. nginx returns 502. Opcache causes php-fpm to crash nginx returns 502 This article mainly introduces how Opcache causes php-fpm to crash nginx returns 502, which is very practical, for more information, see my blog Opcache, which causes php-fpm to crash. nginx returns 502.
This article mainly introduces how Opcache causes php-fpm to crash and nginx returns 502. it is very practical. if you need it, refer
In order to improve the running efficiency, I installed opcache extension on vps. I found that 502 was returned for a page and other pages were normal.
After checking the php-fpm log, we found that the php-fpm sub-process did not know why it crashed, and then shut down the opcache. The intermediate tossing process will not be mentioned. In short, it should be caused by conflicts with another zend guard extension. The funny thing is, as long as I put php. the [zend guard] configuration section in ini is placed after [zend opcache.
I don't want to go further. if you are familiar with the php underlying layer, you can explain it to me.
Ghost This article mainly introduces the solution for Opcache causing php-fpm to crash nginx to return 502, which is very practical. if you need it, please refer to my blog...