### 安裝
*****
1. 獲取點企來壓縮包

2. 解壓,并把zjhj_cs放入服務器中
3. 項目可用nginx+php-fpm或者apache來運行(二者選其一即可),配置參考如下。
* nginx配置
```
server {
listen 80;
server_name 你的域名;
root 實際磁盤路徑/zjhj_cs/public;
client_max_body_size 18M;
index index.php index.html;
location / {
index index.html index.php;
}
location ~ \/upload\/.*\.php {
deny all;
return 404;
}
if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
location ~ \.php$ {
add_header Access-Control-Allow-Origin *;
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
```
* apache配置(需要httpd.conf配置文件中加載了mod_rewrite.so模塊)
```
<Directory "實際磁盤路徑/zjhj_cs/public">
Options Indexes MultiViews
AllowOverride All
Require all granted
</Directory>
<VirtualHost *:80>
DocumentRoot "實際磁盤路徑/zjhj_cs/public"
ServerName 你的域名
</VirtualHost>
```
* IIS配置
如果你的服務器環境支持ISAPI_Rewrite的話,可以配置httpd.ini文件,添加下面的內容:
```
RewriteRule (.*)$ /index\.php\?s=$1 [I]
```
在IIS的高版本下面可以配置web.Config,在中間添加rewrite節點:
```
<rewrite>
<rules>
<rule name="OrgPage" stopProcessing="true">
<match url="^(.*)$" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^(.*)$" />
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" />
</rule>
</rules>
</rewrite>
```
4. 配置好后訪問 http://你的域名/install.php ,然后根據步驟提示安裝即可。
* 系統會自動檢查環境是否ok。

* 配置數據庫相關信息,其中服務器端口配置用默認值即可

* 安裝成功

> 安裝完畢后即可進入管理平臺
5. 開啟推送服務
cd /實際磁盤路徑/zjhj_cs/zjhj_pusher
windows:php start.php (不可關閉窗口)
linux: php start.php start -d (后臺運行)

出現以上頁面表示推送服務開啟成功。如有報錯請檢查 實際磁盤路徑/zjhj_cs/zjhj_pusher/config.php $app_key $app_secret $app_id 與 實際磁盤路徑/zjhj_cs/public/index.php中變量是否保持一致
至此,程序安裝完全。謝謝使用
- 點企來客服系統價格表
- 第一步:基于寶塔面板的安裝
- 第二步:配置https服務
- 第三步:防火墻與安全組配置
- 第四步:對接系統配置使用
- 第五步:公眾號模板通知設置
- 第六步:推送消息url功能
- 常見問題解決
- 推送服務檢測腳本
- 注意事項
- 非寶塔系統安裝教程
- 管理
- 獨立版管理平臺
- 賬戶管理
- 賬戶列表
- 新增子賬戶
- 客服系統管理
- 我的應用
- 回收站
- 子賬戶應用
- 設置
- 系統設置
- 清理緩存
- 短信配置(阿里云)
- 上傳設置
- 客服系統
- 登錄方式
- 首頁
- 對話平臺
- 歷史記錄
- 評價管理
- 客戶管理
- 網頁部署
- 設置
- 問候語
- 通用設置
- 客服添加與管理
- 分組管理
- 評價設置
- 常見問題
- 下班設置
- tab編輯
- 訪客頁面
- 接口
- 安裝
- 微擎版