## 安装微擎(宝塔)
安装时请解压下载文件并上传到站点根目录,然后访问`http://你的域名/install.php`进行安装。
1. 添加站点
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/eNqyh9H88A9YnAn8NSN2ZQw3nanhtq5N.png)
2. 下载安装包,[http://cdn.w7.cc/download/WeEngine-Laster-Online.zip](http://cdn.w7.cc/download/WeEngine-Laster-Online.zip)
解压出一个php文件,点击网站目录上传此文件。
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/a31m3VtK3ivG5Iv3WLiZnqotpoLTmYwb.png)
3. 访问 你的域名/install.php 安装,这里是s.w7.cc的账户,没有就去注册
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/x67f7691761686z9W6H7f767O3h7O49B.png)
如果弹出这个
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/MrSime2eIjht7ex0W2LXLXeTS3oi3MMI.png)
请参考此教程
(1)编辑PHP.INI
(2)找到;always\_populate\_raw\_post\_data = -1
(3)去掉前面的分号; 如果 = 号后面是on ,改成-1
(4)保存,重启php
(5)刷新安装页面,即可进入第8步
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/nDifFxNTCFTiTymxYYLfQ4TIn4nXhT16.png)
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/IdNYfxizYBDYhbfDY2NH0lY70CxZ7XzD.png)
4. 弹出的内容对应填写
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/Vz8t1QihHI2ALB5781NHBh9qI5Q8qi85.png)
5. 设置此后台的账户密码 ,安装成功
![image.png](https://rangine-1251470023.cos.ap-shanghai.myqcloud.com/document/f31xnnKX13027mD3iS8812Lz6vla3A8j.png)