Centos安裝PHP時,安裝php依賴包時yum install libmcrypt libmcrypt-devel,報錯如下: 然後編譯的時候,又報錯: 解決方法:yum install epel-release //擴展包更新包 ...
Centos安裝PHP時,安裝php依賴包時yum install libmcrypt libmcrypt-devel,報錯如下:
No package libmcrypt available. No package libmcrypt-devel available. Error: Nothing to do
然後編譯的時候,又報錯:
checking for mcrypt support... yes configure: error: mcrypt.h not found. Please reinstall libmcrypt.
解決方法:yum install epel-release //擴展包更新包