今天尝试升级xampp,出现问题。网上搜了下,得出结论:
1.
你可以尝试不要用 bat 来启动 apache,直接使用 XAMPP Control Panel 那个文件(xampp-control.exe,与 apache_start.bat 在同一个目录下)来启动。
我顺便提醒一下,在刚刚安装(也就是解压)好 XAMPP 之后,必须先运行一次 setup_xampp.bat ,你运行了吗?
因此,必须先运行一次setup_xampp.bat,非常关键
2.域名配置方法
首先在C:\WINDOWS\system32\drivers\etc\hosts上添加所需配置域名,如
127.0.0.1 xiaomogu.com
其次,在D:\Program Files\xampp\apache\conf\extra\http-vhost.conf上
去掉注释:NameVirtualHost *:80
再添加vhost,如
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "D:/Program Files/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "D:/Program Files/xampp/htdocs/adcenter/htdocs"
ServerName xiaomogu.com
##ServerAlias *.xiaomogu.com
</VirtualHost>
最后重启apache,即可。
3.SVN的操作
relocate
export 导出备份一份
版本号????
1.
你可以尝试不要用 bat 来启动 apache,直接使用 XAMPP Control Panel 那个文件(xampp-control.exe,与 apache_start.bat 在同一个目录下)来启动。
我顺便提醒一下,在刚刚安装(也就是解压)好 XAMPP 之后,必须先运行一次 setup_xampp.bat ,你运行了吗?
因此,必须先运行一次setup_xampp.bat,非常关键
2.域名配置方法
首先在C:\WINDOWS\system32\drivers\etc\hosts上添加所需配置域名,如
127.0.0.1 xiaomogu.com
其次,在D:\Program Files\xampp\apache\conf\extra\http-vhost.conf上
去掉注释:NameVirtualHost *:80
再添加vhost,如
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "D:/Program Files/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
ServerAdmin postmaster@dummy-host2.localhost
DocumentRoot "D:/Program Files/xampp/htdocs/adcenter/htdocs"
ServerName xiaomogu.com
##ServerAlias *.xiaomogu.com
</VirtualHost>
最后重启apache,即可。
3.SVN的操作
relocate
export 导出备份一份
版本号????