安裝
不安裝在系統盤
配置
- 端口設置,避免衝突;
- 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選項。