Swoole建立基於HttpServer與基於WebSocket服務器---學習筆記(4)

啓動HttpServer服務端 <?php $http = new swoole_http_server("0.0.0.0", 8888); $http->set([ 'enable_static_handler'=>true, 'document_root' => '/home/wwwroot/default /swool/demo/server/data' //設置終端執行保存的靜
相關文章
相關標籤/搜索