Opcache causes PHP-FPM crash Nginx returns 502

Source: Internet
Author: User
Tags fpm zend

This article mainly introduced Opcache caused php-fpm collapse Nginx return 502 of the solution, very practical, the need for friends can refer to the

I this blog in order to improve operational efficiency in the VPS mounted Opcache expansion, the results found that there is a page return 502, the other page normal.

Check the PHP-FPM log, found that the PHP-FPM process does not know why the crash, and then the Opcache off on the normal. The process of the middle toss does not mention, in short the final discovery should be and another extension Zend guard conflict caused, funny, as long as I php.ini [Zend Guard] Configuration segment in [Zend Opcache] after the normal.

Do not want to continue to delve, if you are familiar with the bottom of PHP, you can give me some doubts.

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.