Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-php
  • Wiki
  • envrioment

envrioment · Changes

Page history
wangqs created page: envrioment authored Jun 03, 2016 by 互联网应用开发's avatar 互联网应用开发
Show whitespace changes
Inline Side-by-side
Showing with 53 additions and 0 deletions
+53 -0
  • envrioment.md envrioment.md +53 -0
  • No files found.
envrioment.md 0 → 100644
View page @ e6a8d82e
windows
### 下载源码
1. 下载wamp
2. 启动
3. 进入wamp/www/
4. git@tech.pingansec.com:wangqs/web-php.git
5. git@tech.pingansec.com:wangqs/php-config.git
6. git@tech.pingansec.com:wangqs/static.git
7. 将php-config目录的config文件夹复制到web-php目录
### 配置域名
```
<VirtualHost *:80>
DocumentRoot e:/wamp/www/web-php/app-finance
ServerName finance.dev.pingansec.com
ServerAlias *.finance.dev.pingansec.com
<Location />
AddDefaultCharset utf-8
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
</Location>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot e:/wamp/www/static
ServerName static.dev.pingansec.com
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
```
将上边内容复制到wamp/bin/apache/apache2.x/conf/http.conf文件的最下边
在http.conf中搜索mod_rewrite.so把这一行的注释去掉,保存文件
启动wamp,托盘点击图标,php->php_extension->php_redis.so将之打开
重启wamp
浏览器输入
finance.dev.pingansec.com
测试是否成功
\ No newline at end of file
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages