當mysql啟動、httpd啟動後,去run worpdress,結果出現「Your PHP installation appears to be missing the MySQL extension which is required by WordPress.」
我的解決方法如下
訊息是說少了一套php與mysql相關的套件,我記得有一個套件叫php-mysql,所以就用yum來安裝一下。指令如下
yum install php-mysql
service httpd restart
service mysqld restart
下完這些指令之後,就可以正常連線資料庫,如果出現連線失敗訊息
Error establishing a database connection
那就是帳號密碼的問題,請自行修改。
隨機文章
- ShareTech MailBox 有夠X的,問題這麼多還不如自建的postfix伺服器 (2020-11-19)
- 反推:轉到捕夢網數位科技之後我可以安心睡覺了,再見了ServerZoo (2014-12-16)
- 名詞解釋:虛擬量測 (2011-01-20)
- SEO知識_常被忽略的網頁配置問題 (2007-11-20)
- 解決 公司內用微軟 DNS 使用免費的CloudFlare dns loop SSL 憑證困擾 (2021-12-09)
![[chatGPT 測試] 剪映 文字成片 VS. Wondershare Filmora 13 AI 文字轉影片](https://chihping.aflypen.com/wp-content/uploads/2023/12/剪映_音樂-137x300.png)







![[chatGPT 測試] 評測開箱 Synology DS918+](https://chihping.aflypen.com/wp-content/uploads/2023/03/hdd-g6fc6f0659_640-300x228.png)