當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
那就是帳號密碼的問題,請自行修改。
隨機文章
- 每個行銷長才都該懂的部落格經營手法 (2011-09-27)
- 在CentOS 5.5中掛載USB外接式硬碟 (2010-09-04)
- HTC One M9 發表我的看法 (2015-03-04)
- 系統限制啊 4G大小 怎麼弄 (2018-01-04)
- 媒體社會責任-從東森新聞看A片介紹網站 (2009-07-08)

![[chatGPT 測試] 比較Synolgy TrueNAS 和 OpenMediaVault](https://chihping.aflypen.com/wp-content/uploads/2023/03/synolgo_opensource_comparison-300x169.jpg)






