wordpress本機基礎測試環境架設
開發外掛的過程一定會遇到很多不可預期的狀況,如果是接案的狀況再更改設定或外掛不小心玩壞了要修復也是件挺令人擔心的事情,所以這篇主要教大家如何在本地端架出wordpress的環境,出了問題也能夠比較好理解問題在哪哦!
首先先下載XAMPP
https://www.apachefriends.org/zh_tw/download.html
下載完之後進行安裝,預設安裝完的路徑會在C:\xampp
xampp下有個資料夾叫做htdocs是網站的根目錄
在htdocs下放一包wordprss(記得解壓縮)
https://drive.google.com/file/d/1XxxI75FTbDfuiOiX-cYWnnMu0emns3TY/view?usp=sharing
放好之後打開xampp程式

打開Apache跟MySQL

按下MySQL右邊的Admin
先建一個要給wordpress用的資料庫

打開網頁,輸入 http://localhost/wordpress/ ,會出現這個畫面

點擊開始安裝

資料庫名稱填上剛剛建的資料庫名稱,然後設定使用者名稱跟密碼,xampp的mysql預設的帳號密碼是root跟空白,基本上主機位置跟資料表前置詞可以用預設就好,輸入無誤後按傳送

點選執行安裝程式

輸入完畢後點選安裝Wordpress

完成啦!!!可以開始盡情的玩囉~
如果真的遇到玩壞了不知道該怎麼修復的情況,只要把wordpress刪掉重新安裝一次就可以了
Like my work? Don't forget to support and clap, let me know that you are with me on the road of creation. Keep this enthusiasm together!