... | @@ -21,18 +21,18 @@ http://tech.pingansec.com/profile/keys |
... | @@ -21,18 +21,18 @@ http://tech.pingansec.com/profile/keys |
|
|
|
|
|
|
|
|
|
|
|
|
|
windows
|
|
|
|
### 下载源码
|
|
### 下载源码
|
|
|
|
|
|
1. 下载wamp
|
|
1. 下载wamp (linux & mac 需要自行安装)
|
|
2. 启动
|
|
2. 启动 (linux & mac 需要自行安装)
|
|
3. 进入wamp/www/
|
|
3. 进入wamp/www/ (linux & mac 自行设定目录)
|
|
4. git clone git@tech.pingansec.com:wangqs/web-php.git
|
|
4. git clone git@tech.pingansec.com:wangqs/web-php.git
|
|
5. git clone git@tech.pingansec.com:wangqs/php-config.git
|
|
5. git clone git@tech.pingansec.com:wangqs/php-config.git
|
|
6. git clone git@tech.pingansec.com:wangqs/static.git
|
|
6. git clone git@tech.pingansec.com:wangqs/static.git
|
|
7. 将php-config目录的config文件夹复制到web-php目录 linux 或者 mac 可以建一个软连接
|
|
7. 将php-config目录的config文件夹复制到web-php目录 linux 或者 mac 可以建一个软连接
|
|
|
|
|
|
### 配置域名
|
|
### windows 配置域名
|
|
|
|
|
|
```
|
|
```
|
|
<VirtualHost *:80>
|
|
<VirtualHost *:80>
|
... | @@ -120,8 +120,8 @@ file->settins->搜索 git |
... | @@ -120,8 +120,8 @@ file->settins->搜索 git |
|
|
|
|
|
|
|
|
|
### linux & mac
|
|
### linux & mac
|
|
|
|
通过pecl安装 或者brew安装 solr.so mongodb.so redis.so扩展
|
|
|
|
|
|
请参照windows 自行配置(上边的东西其实是写给前端同学看的,服务端的自己搞定吧)
|
|
|
|
|
|
|
|
环境要求 nginx + php-fpm 可以安装brew之后进行安装
|
|
环境要求 nginx + php-fpm 可以安装brew之后进行安装
|
|
|
|
|
... | | ... | |