嘗試使用在http://www.how2centos.com/installing-php-5-4-on-centos-5-8/找到的教程從PHP 5.3升級到5.4。我基本上說要做到以下幾點:在Centos 5.8上安裝PHP5.4
yum install yum-priorities
rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-10.ius.el5.noarch.rpm
yum install php54 php54-common php54-devel
當執行第二行,我得到以下錯誤:
[[email protected] ~]# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
Retrieving http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
error: skipping http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm - transfer failed - Unknown or unexpected error
warning: u 0xc073650 ctrl 0xc074a20 nrefs != 0 (download.fedoraproject.org http)
我在做什麼錯?謝謝
你有互聯網connexion?並且你不能做像yum更新的東西,因爲你說你正在更新... – Mathlight
是的,我有互聯網連接。我可以從5.3更新到5.4,還是隻更新到最新的5.3版本? – user1032531
它應該更新到5.4 .... – Mathlight