This repository has been archived by the owner on Sep 1, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2019/03/05 12:39] Auto update by script
- Loading branch information
Showing
708 changed files
with
5,618 additions
and
3,178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,9 +12,9 @@ | |
PHP版本依赖 | ||
---------- | ||
* `Swoole-1.x`需要 `PHP-5.3.10` 或更高版本 | ||
* `Swoole-2.x`需要 `PHP-7.0.0` 或更高版本 | ||
* `Swoole-4.x`需要 `PHP-7.1.0` 或更高版本 | ||
* `Swoole-4.x`需要 `PHP-7.0.0` 或更高版本 | ||
* 不依赖 `PHP` 的 `stream`、`sockets`、`pcntl`、`posix`、`sysvmsg` 等扩展。`PHP` 只需安装最基本的扩展即可 | ||
* Swoole对PHP版本支持和PHP官方维护版本保持一致。[PHP版本支持时间表](http://php.net/supported-versions.php "PHP版本支持时间表") | ||
|
||
|
||
ARM平台(树莓派Raspberry PI) | ||
|
@@ -28,7 +28,7 @@ MIPS平台(OpenWrt路由器) | |
* 请使用 swoole-1.7.21 或更高版本 | ||
* 使用 GCC 交叉编译 | ||
|
||
CygWin环境支持(Windows系统) | ||
Cygwin环境支持(Windows系统) | ||
------------ | ||
swoole-1.7.7 增加了对 cygwin 环境的支持,在 Windows 环境下,可以直接使用 cygwin + php 来跑 swoole 程序。 | ||
|
||
|
@@ -38,6 +38,8 @@ swoole-1.7.7 增加了对 cygwin 环境的支持,在 Windows 环境下,可 | |
|
||
> cygwin 模式下需要对 PHP 进行简化,去掉不使用的扩展,避免进程占用内存过大,导致 Fork 操作失败 | ||
> 目前提供 Cygwin 二进制包,可以在官网进行下载:[https://www.swoole.com/page/download](https://www.swoole.com/page/download) ,如有问题请反馈至开发组邮箱 [email protected] | ||
BashOnWindows | ||
----------- | ||
Windows 10 系统增加了 Linux 子系统支持,BashOnWindows 环境下也可以使用 swoole。安装命令 | ||
|
@@ -55,7 +57,7 @@ cd /etc/php/7.0/fpm/conf.d/ && ln -s ../../mods-available/swoole.ini 20-swoole.i | |
|
||
DockerOnWindows | ||
--------------- | ||
在 `Windows` 下开发可以使用 `Hyper-V+Docker` 来方便的开发 `Swoole` 应用,安装好 `Docker` 后再 `Settings` 里的 `Shared Droves` 选项里共享代码所在磁盘。然后使用如下命令来快速启动 `Docker` 容器。 | ||
在 `Windows` 下开发可以使用 `Hyper-V+Docker` 来方便的开发 `Swoole` 应用,安装好 `Docker` 后再 `Settings` 里的 `Shared Drives` 选项里共享代码所在磁盘。然后使用如下命令来快速启动 `Docker` 容器。 | ||
|
||
``` | ||
docker run --rm -t -i --name myapp -p 9501:9501 -v e:/path/to:/app:rw xutongle/php:7.1-fpm /bin/bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.