xampp開坑

安裝

不安裝在系統盤

配置

  • 端口設置,避免衝突;
  1. Apache(httpd.conf):Listen 80 => 8081;ServerName localhost:80=>8081
  2. Apache(httpd-ssl.conf):Listen 443 => 4433;<VirtualHost _default_:443> => 4433
  3. MySQL(my.ini):port=3306=>3316
  4. 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選項。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章