- PHP 7.2+
- 在
tars
目录中声明一个tars文件 - 运行tars转php的脚本:
cd scripts
chmod u+x tars2php.sh
./tars2php.sh
- 查看服务进程的日志
tail -f /data/tars/tars_data/tars/app_log/PHPTest/PHPServer/PHPTest.PHPServer.log
- tarsphp官方文档 https://tarsphp.gitbook.io/doc/
- tarsphp的仓库 https://github.com/TarsPHP/TarsPHP