Opcache causes php-fpm to crash nginx returns 502_PHP tutorial

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.