本篇文章給大家介紹一下workerman啟動與停止相關命令。有一定的參考價值,有需要的朋友可以參考一下,希望對大家有所幫助。
相關推薦:《workerman》
start.php為入口文件
一、啟動
1、以debug(調試)方式啟動 (這個是啟動后,關閉后這啟動就斷掉的)
php start.php start
2、以daemon(守護進程)方式啟動(這是進程啟動的,正式環境需要開啟這個的)
php start.php start -d
二、停止
php start.php stop
三、重啟
php start.php restart
四、平滑重啟
php start.php reload
五、查看狀態
php start.php status
六、查看連接狀態(需要workerman版本>=3.5.0)
php start.php connections
更多編程相關知識,請訪問:workerman!!
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END
喜歡就支持一下吧
相關推薦