thinkphp配置虚拟主机

开启虚拟主机:
配置本地路由表:C:\Windows\System32\drivers\etc\hosts

apache开启虚拟主机:\wamp\bin\apache\apache2.4.9\conf  514行去掉#号

修改虚拟主机配置:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf


    DocumentRoot "D:\wamp\www\composer_tp5\public"
    ServerName www.tptest.com
   

        Options Indexes FollowSymlinks

        AllowOverride All

        Require all granted
     
       

你可能感兴趣的:(thinkphp)