2017-10-04 119 views
0

我試圖建立一個VPS服務器上centos 6並得到一個錯誤Your PHP installation appears to be missing the MySQL extension which is required by WordPress.PHP MySQL擴展失蹤

當我運行sudo yum install php-mysql,我得到Error: php56w-common conflicts with php-common-5.5.38-7.el6.remi.x86_64

誰能幫助我嗎? 謝謝

,這是愚蠢的,這個工作sudo yum install php56w-mysql

+1

這是因爲您已經安裝了Webtatic回購其具有PHP比新版本默認回購。嘗試'yum安裝php56w-mysql'以從正確的回購安裝。 – drew010

回答

0

之前執行安裝命令,運行update命令第一: 百勝更新

+0

我做了,得到:'沒有軟件包標記爲更新' –

+1

然後你可以嘗試運行:'''yum clean all'''然後運行'''''yum update''' – mrJ0ul3