Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JanHuang committed Feb 1, 2017
1 parent 29e763b commit 471f628
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/zh_CN/3-7-swoole-server.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Swoole 服务器

Swoole 服务器依赖于 [swoole](https://github.com/JanHuang/swoole) 提供灵活优雅的实现方式
Swoole 服务器依赖于 [swoole](https://github.com/JanHuang/swoole) 并且提供灵活优雅的实现方式

> swoole 必须依赖于 ext-swoole 扩展,并且版本 >= 1.8.5
swoole 服务器的配置文件存放在 `config/server.php` 中,其中 `listen` 选项是必填,`options` 配置项请看 [server 配置选项](http://wiki.swoole.com/wiki/page/274.html)

服务器通过: `php bin/server` 进行启动. 通过 `listen` 配置项进行访问
```php
$ php bin/server
```

> 访问的方式与 FPM 下访问保持一致。
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* [单元测试](3-4-testcase.md)
* [辅助函数](3-5-helpers.md)
* [服务提供器](3-6-service-provider.md)
* [Swoole服务](3-7-swoole-server.md)
* [Swoole服务器](3-7-swoole-server.md)
* [扩展](3-8-extend.md)


Expand Down

0 comments on commit 471f628

Please sign in to comment.