PHP installation swoole extension support for OpenSSL and WSS encountered pits

Source: Internet
Author: User
Tags zts
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.