Opcache causes php-fpm to crash nginx returns 502, php-fpmnginx_PHP tutorial

Source: Internet
Author: User
Tags vps
Opcache causes php-fpm to crash. nginx returns 502 and php-fpmng.pdf. Opcache causes php-fpm to crash. nginx returns 502. php-fpmnginx my blog has added the opcache extension to vps to improve the running efficiency. it is found that a page returns 502 and other pages are normal. Opcache causes php-fpm to crash nginx returns 502, php-fpmng.pdf

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.

In order to improve the running efficiency, I have installed opcache extension in vps. I found that 502 is returned for a page and other pages are normal ....

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.