1. 确认服务器 开放8088端口
https://www.apachefriends.org/download.html XAMPP for Windows,安装2. 修改apache主配置文件 e:/opt/xampp/apache/conf/httpd.conf 默认有Listen 80这一行,找到这里在下一行添加Listen 80883. 创建目录 E:\upload, mkdir E:\upload
4. 修改apache vhost 配置文件 e:/opt/xampp/apache/conf/extra/httpd-vhosts.conf
添加以下配置ServerAdmin Administrator@www.mediamix.cn DocumentRoot "E:/upload" ServerName www.mediamix.cn ServerAlias www.mediamix.cn ErrorLog "logs/mediamix.cn-error.log" CustomLog "logs/mediamix.cn.log" common Options Indexes FollowSymLinks Includes ExecCGI AllowOverride All Require all granted
apache, httpd, vhost