Home  >  Article  >  类库下载  >  php-fpm startup error

php-fpm startup error

高洛峰
高洛峰Original
2016-10-14 10:49:041955browse

Today QA used php-fpm to start php and reported an error. The specific information is as follows:

-bash-3.2$ ~/script/client/php-fpm restart
Gracefully shutting down php-fpm . done
Starting php-fpm [29-Jul-2013 16:11:55] NOTICE: [ pool www] 'user' directive is ignored when FPM is not running as root
/home/script/client/php-fpm: line 52: 11678 Segmentation fault $php_fpm_BIN $php_opts
failed

Finally it was found that it was enabled at the same time in php It is caused by two extensions, apc and zend opcache. I guess there should be a conflict between these two extensions, and if they are enabled at the same time, the above error will be reported.
In addition, some extension libraries use compiled libraries and runtime library versions that are inconsistent. For example, if gd is compiled with libpng15, but the running environment is libpng12, it is easy to have this kind of problem.


Statement:
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

Related articles

See more