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.