Original link:
http://www.cnblogs.com/guoyongrong/p/4059626.html
ev pecl installed php extension, was added after installation php.ini extension extension = ev.so, and then restart the following error occurs php-fpm
PHP Warning: PHP Startup: Unable to load dynamic library '/ usr / lib64 / php / modules /ev.so '- /usr/lib64/php/modules/ev.so: undefined symbol: php_sockets_le_socket in Unknown on line 0
Similar problems Baidu online, found the cause of the problem, which must be loaded ev extension after extension sockets, so the solution is to ev.so added to the bottom sockets.ini
# cat /etc/php.d/sockets.ini
; Enable sockets extension module
extension=sockets.so
extension=ev.so
Reproduced in: https: //www.cnblogs.com/guoyongrong/p/4059626.html