安装
不安装在系统盘
配置
- 端口设置,避免冲突;
- Apache(httpd.conf):
Listen 80
=> 8081;ServerName localhost:80
=>8081 - Apache(httpd-ssl.conf):
Listen 443
=> 4433;<VirtualHost _default_:443>
=> 4433 - MySQL(my.ini):
port=3306
=>3316 - phpMyAdmin(config-inc.php):
/* Authentication type and info */
新增$cfg['Servers'][$i]['port'] = '3316';
- MySQL(my.ini):
# UTF 8 Setting
后段 => 去掉注释,UTF8编码; - phpMyAdmin(config-inc.php):
/* Authentication type and info */
段auth_type可取值:config/cookie/http/HTTP,设置登录方式;默认按照config配置信息无需验证登录。
注意phpMyAdmin端口配置,影响登录问题
部署
站点根目录默认htdocs文件夹下;可配置虚拟目录,实现多域名访问;
不展开了,以后用到在挖坑。注意xampp_control_panel中右侧的config=>service and port setting选项。