Listen 127.0.0.1:8092
<Directory />
AllowOverride none
# Require all denied
</Directory>
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
<VirtualHost *:8092>
ServerAdmin webmaster@dummy-host.localhost
DocumentRoot "D:/Work/SourceCode"
ServerName localhost
<Directory "D:/Work/SourceCode">
Options Indexes FollowSymLinks
AllowOverride all
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<IfModule alias_module>
Alias /eft "D:/Work/myspace"
</IfModule>
LoadModule rewrite_module modules/mod_rewrite.so
在php.ini文件中
short_open_tag = On
开启xdebug(开发环境需要)
xdebug.remote_enable = on
原文地址:http://blog.csdn.net/kaylio/article/details/46315727