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

WBOY
Release: 2016-07-13 10:05:39
Original
1101 people have browsed it

Opcache caused php-fpm to crash nginx returned 502, php-fpmnginx

My blog installed the opcache extension on the vps in order to improve operating efficiency, and found that a page returned 502, Other pages are 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/963121.htmlTechArticleOpcache causes php-fpm to crash nginx returns 502, php-fpmnginx My blog is installed on vps to improve operating efficiency opcache was expanded, and it was found that one page returned 502, and other pages were normal. ...
Related labels:
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