Introduction to how workerman installs event extensions

Release: 2021-02-01 12:07:33
forward
3970 people have browsed it

Introduction to how workerman installs event extensions

workermanThe socket service created requires event expansion under high concurrency. If the Pagoda panel has been installed, how to install the event extension?

Take the installation of event extension in php7 as an example:

yum install libevent -y wget https://pecl.php.net/get/event-2.3.0.tgz tar -zxvf event-2.3.0.tgz cd event-2.3.0 /www/server/php/70/bin/phpize ./configure --with-php-config=/www/server/php/70/bin/php-config make && make install echo "extension=event.so" >> /www/server/php/70/etc/php.ini service php-fpm-70 reload
Copy after login

Then check whether the installation is successful:

/www/server/php/70/bin/php -m |grep event
Copy after login

For more workerman knowledge, please pay attention to the PHP Chinese websiteworkerman frameworkTutorial column.

The above is the detailed content of Introduction to how workerman installs event extensions. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jincon
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!