>[info]環境要求
php5.4+ / Mysql / Linux系統 / redis / Swoole1.8.2+
` 低版本則無法使用發送模板消息的暫停功能,建議安裝 1.9.3 swoole
`
<br/>
>[info] 安裝步驟
>
## 1、 安裝微擎
具體教程請參考 http://s.we7.cc/index.php?c=wiki&do=view&id=1&list=19
推薦使用寶塔安裝,見?? https://www.itbulu.com/bt-intall-weqing.html
<br>
## 2、 刪除禁用函數
打開php.ini 文件搜索 disable_functions 刪除其中的 “exec ,system“,然后重啟php

<br>
## 3、 安裝php swoole拓展
1.使用寶塔安裝 則直接點擊安裝即可

> php5.6 建議手動安裝swoole插件, [點擊查看](http://www.hmoore.net/hao100/jsqf1/1017837)
>
<br>
## 4、 安裝redis
1.安裝redis 可以使用寶塔,或手動安裝,參考 http://www.runoob.com/redis/redis-install.html
2.安裝完成后配置php的redis拓展

配置config.php
打開微擎目錄下的 data/config.php文件
```
// -------------------------- CONFIG REDIS --------------------------- //
$config['setting']['redis']['server'] = '127.0.0.1';
$config['setting']['redis']['port'] = 6379;
$config['setting']['redis']['pconnect'] = 1;
$config['setting']['redis']['timeout'] = 30;
$config['setting']['redis']['session'] = 0;
$config['setting']['redis']['requirepass'] = 'xxx'; // redis授權密碼
```
如果沒有設置redis密碼上面這一行可以不寫
如果安裝了 域名綁定 模快
將config.php 中 /addons/zio_domain/domain.php所在行改為
```
if(!function_exists('isCliMe')){
function isCliMe()
{
$sapi_type = php_sapi_name();
if (substr($sapi_type, 0, 3) == 'cli') {
return true;
} else {
return false;
}
}
}
if(!isCliMe()) {
if (file_exists(IA_ROOT . "/addons/zio_domain/domain.php")) {
include IA_ROOT . "/addons/zio_domain/domain.php";
}
}
```
<br>
>[info] #### 安裝技術支持
* 如果安裝遇到其它問題,請添加技術支持(QQ售后群**沃特@技術支持**)
* 未在群的小伙伴,請聯系QQ:1214073360 加入售后群
>[success] 恭喜!到此安裝完成