Home >PHP Framework >Swoole >swoole installation steps
1. Install git: yum –y install git
The picture is the already installed git
2. Clone the swoole source code: git clone …
Address:
https://github.com/swoole/swoole-src/releases
http:/ /pecl.php.net/package/swoole
http://git.oschina.net/swoole/swoole
to http://git.oschina.net/swoole /swoole is an example, copy the address https://gitee.com/swoole/swoole.git
execute
git clone https://gitee.com/swoole/swoole.git
3. Execute and compile the following commands
cd swoole
phpize (ubuntu does not have phpize installed executable command: sudo apt-get install php-dev to install phpize)
./configure
make
sudo make install
(The picture shows two commands)
The above is the detailed content of swoole installation steps. For more information, please follow other related articles on the PHP Chinese website!