茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1730528 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_0182.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2011/5/31 5:56:47

CentOS yum: 使用 remi 庫來安裝php 5.3, memcached

原文出處: http://www.zuoxinwu.com/blog/1747

1.下載rpm。
 wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm wget http://rpms.famillecollet.com/enterprise/5/remi/i386/remi-release-5-7.el5.remi.noarch.rpm 

2.安裝rpm
 rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm 

3.修改repo優先級。編輯
 /etc/yum.repos.d/remi.repo /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel.repo 

在這個3個文件的最後都增加一行:
 priority=1 

4.升級php到最新版本。現在是5.3.2。 使用下面的命令進行升級(經過測試,如果單獨升級php將提示失敗,只有連同mysql一起升級才可以,所以我們必須執行以下命令才能升級 php到5.2.9版本):
 yum –enablerepo=remi update php* mysql* 

5.安裝memcached
 yum –enablerepo=remi install memcached php-pecl-memcached 

轉自: http://u50.cn/blog/yum-%E4%BD%BF%E7%94%A8-remi-%E5%BA%93%E6%9D%A5%E5%AE%89%E8%A3%85php-53-memcached

原文出處:
CentOS yum: 使用 remi 库来安装php 5.3, memcached - PHP ASP编程爱好者
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|