Linux installation Swoole

Version: php> = 7.0 Swoole4.4.13

Want to install the appropriate compiler must rely extensions can download here in advance of extended use yum to install, it normally takes several extended support, or an error !!!!!!
yum -y  install  gcc  gcc-c++ libxml2-devel m4 autoconf pcre-devel make cmake bison openssl openssl-devel

2: Install swoole

Swoole installation with php installation is the same, downloading codecs, compiled

swoole.4.4.16 CD 

the phpize

 ./configure --with-PHP-config = / usr / local / phpstudy / Soft / PHP / PHP-7.3.8 / bin / PHP- config 

the make 

the sudo the install the make note 
configure preferably directly specified your PHP



- config position View PHP - config position PHP -i | grep config

Add to php.ini extension = swoole.so

View PHP. The INI 

PHP -i | grep the php.ini

Adding to see if the success swoole

php -m

 

 

 

Guess you like

Origin www.cnblogs.com/coder1013/p/12578940.html