Table of contents
Directory
Updated at 2020-03-20 16:00:22

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

Chapter