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

WBOY
Release: 2016-07-13 10:05:48
Original
1142 people have browsed it

Opcache causes php-fpm to crash nginx returns 502

This article mainly introduces the solution to Opcache causing php-fpm to crash nginx returns 502. It is very practical. Friends who need it can For reference

In order to improve the operating efficiency of my blog, I installed the opcache extension on the vps. As a result, I found that one page returned 502, and other pages were 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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/962928.htmlTechArticleOpcache causes php-fpm to crash nginx returns 502 This article mainly introduces Opcache causing php-fpm to crash nginx returns 502 The solution is very practical. Friends who need it can refer to my blog...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!