1、一键安装XAMPP,测试http://localhost/xampp/splash.php等通过即可:
2、启动/关闭XAMPP
C:\xampp\xampp_start.exe
正如提示所示C:\xampp\xampp_stop.exe用以关闭XAMPP服务。
3、所谓的“Web服务器文档根目录”类似于:C:\xampp\htdocs\xampp,其中C:\xampp是安装XAMPP时选择的目录;否则*.php测试文件放错地方会提示“The requested URL was not found on this server”错误。
4、客户端连接
显示“Access forbidden! New XAMPP security concept:...”等错误提示。
则依据提示找到,C:\xampp\apache\conf\extra\httpd-xampp.conf文件,将末尾一段话注释。
#
# New XAMPP security concept
#
#<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
# Require local
# ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
#</LocationMatch>
然后重启XAMPP,客户端重新连接即可:
<?php
20150513 09:00
?>