1, first install Swoole support WSS need at configuer time
./configure-enable-openssl-enable-swoole-enable-sockets-with-php-config=/usr/local/php/bin/php-config
2. After the make install is complete, the php.ini file
Join extension= "/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/swoole.so"
3, running Php-m|grep swoole error
Undefined symbol:bufferevent_openssl_set_allow_dirty_shutdown in Unknown on line 0
4, need to add in the/etc/php.d/sockets.ini file
Extension= "/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/swoole.so",
Also remove the extension= "/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/swoole.so" from the php.ini file, Because the Sockets.ini file is already loaded by default in the INI file
5. Generally speaking, undefined symbol:bufferevent_openssl_set_allow_dirty_shutdown in Unknown on line 0 The error is that the installed module is not loaded in the Sockets.ini file, as long as the corresponding. So module is added to the last line of Sockets.ini.
PHP installation swoole extension support for OpenSSL and WSS encountered pits