在配置文件中加上(打红部分):
listen 192.168.1.3:80
<virtualhost 192.168.1.3:80>
servername www.meml.com
documentroot /web
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
DirectoryIndex index.php index.html
<Directory "/web">
Require all granted
</Directory>
</virtualhost>