Skip to the content.

TarsPHP

Intro

Proposed installation: php7+swoole2

Install PHP

https://github.com/php/php-src 

Install swoole

swoole: https://github.com/swoole/swoole-src
install: https://wiki.swoole.com/wiki/page/6.html
PECL Auto click download and installation
    pecl install swoole

PHP needs to install the extension,Please in https://github.com/TarsPHP/tars-extension compiler and add extension into php.ini, see follows:

Install tarsphp extension

project: https://github.com/TarsPHP/tars-extension

git clone https://github.com/TarsPHP/tars-extension.git
cd tars-extension
sudo phpize 
sudo ./configure
sudo make 
sudo make install

In php.ini add: extension=phptars.so