php的swoole扩展(2.0以下最新版)
服务启动
/opt/php7/bin/php httpserver.php -c test
-c表示配置参数 test:测试环境 online:线上环境
服务关闭
ps -eaf |grep "httpserver.php" | grep -v "grep"| awk '{print $2}'|xargs kill -9
php的swoole扩展(2.0以下最新版)
服务启动
/opt/php7/bin/php httpserver.php -c test
-c表示配置参数 test:测试环境 online:线上环境
服务关闭
ps -eaf |grep "httpserver.php" | grep -v "grep"| awk '{print $2}'|xargs kill -9