set http.conf

# ...http_vhost.conf 取消注释#

# ServerName www.example.com 打开

set http.vhost.conf For OSX 10.10 Apache 2.4

设置虚拟机

<Directory "/Users/username/Sites/">
AllowOverride All
Options Indexes MultiViews FollowSymLinks
Require all granted
</Directory>

set php

LoadModule php5_module libexec/apache2/libphp5.so

修改文件权限 chmod 777 MetInfo5.3