phpstrom项目初始化

本地项目分享到github

phpstrom项目初始化_第1张图片

具体流程:
1搭建thinkphp框架

phpstrom项目初始化_第2张图片
phpstrom项目初始化_第3张图片
phpstrom项目初始化_第4张图片

2、apache创建虚拟主机

第一步vhosts-conf增加

phpstrom项目初始化_第5张图片

DocumentRoot "D:\phpStudy\WWW"
  
    Options -Indexes +FollowSymLinks +ExecCGI
    AllowOverride All
    Order allow,deny
    Allow from all
    Require all granted
  




    DocumentRoot "D:\phpStudy\WWW"
    ServerName www.phpStudy.net
    ServerAlias phpStudy.net
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  



    DocumentRoot "D:\WWW\ThinkPHP"
    ServerName thinkphp
    ServerAlias 
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  



    DocumentRoot "D:\phpStudy\WWW\0825"
    ServerName www.0825.com
    ServerAlias 
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  



    DocumentRoot "D:\phpStudy\WWW\shop"
    ServerName www.0901.com
    ServerAlias 
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  



    DocumentRoot "D:\phpStudy\WWW\shop1024\shop"
    ServerName www.shop1024.com
    ServerAlias 
  
      Options FollowSymLinks ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
      Require all granted
  

第二步添加hostss文件

phpstrom项目初始化_第6张图片
第二步添加hostss文件
phpstrom项目初始化_第7张图片
OK

你可能感兴趣的:(phpstrom项目初始化)