php

Install dependency environment of tarsphp

php7 + swoole2+ is recommended.

Install php

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

Install swoole

Project: https://github.com/swoole/swoole-src
Install via compile: https://wiki.swoole.com/wiki/page/6.html
Install via PECL:
    pecl install swoole

Install tarsphp extension

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

    Download & Unzip: https://github.com/TarsPHP/tars-extension/archive/master.zip
    cd tars-extension
    sudo phpize
    sudo ./configure
    sudo make
    sudo make install
    add extension = phptars.so in php.ini

TarsPHP Development

Development and packaging

Publish

Log View

Last updated