标签:
1、安装
2、修改数据库密码,删除phpmyadmin ,用navicat 控制数据库
3、修改/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf 修改需要部署的网站属性
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /Users/ali/PhpstormProjects/jjr
ServerName t.xx.com
ServerAlias t.xx.com
ErrorLog logs/t.xx.com-error_log
CustomLog logs/t.xx.com-access_log common
</VirtualHost>
4、修改/Applications/XAMPP/xamppfiles/etc/httpd.conf
a..打开Include etc/extra/httpd-vhosts.conf
b..设置允许访问路径
<Directory />
AllowOverride none
Require all granted
</Directory>
5、重启服务器!OK
标签:
原文地址:http://www.cnblogs.com/aliblogs/p/5574598.html