
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
Then check whether the installation is successful:
/www/server/php/70/bin/php -m |grep event
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!
js split usage
The difference between k8s and docker
How to solve the problem that pycharm cannot find the module
Introduction to commonly used top-level domain names
Introduction to online calculator software
What are the differences between weblogic and tomcat
The speed difference between usb2.0 and 3.0
Unable to start your computer properly