原文:http://www.verydemo.com/demo_c116_i21675.html
Contents
- Summary
- Add the development repositories
- Update PHP packages
- Conclusion
- Extras
- Updating/Installing mcrypt
- JSON and PDO being loaded twice
Summary
This guide describes how to upgrade the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.2.x. These instructions were created using CentOS 5.3 32-bit and with the following PHP packages installed:
# rpm -qa |grep php php-common-5.1.6-15.el5.i386 php-cli-5.1.6-15.el5.i386 php-5.1.6-15.el5.i386 php-pdo-5.1.6-15.el5.i386 php-bcmath-5.1.6-15.el5.i386 php-ldap-5.1.6-15.el5.i386 php-devel-5.1.6-15.el5.i386 php-gd-5.1.6-15.el5.i386 php-xml-5.1.6-15.el5.i386 php-mbstring-5.1.6-15.el5.i386 php-mysql-5.1.6-15.el5.i386 php-dba-5.1.6-15.el5.i386
As long as you're using the standard PHP packages on your CentOS server you won't need to do anything extra. If you're using extra PHP packages that aren't part of the standard CentOS repositories (like php-mcrypt) you'll have to remove them or find updated versions of them.
Add the development repositories
First thing we need to do is add the development repositories to yum. …………………………………………………………………………
本文档提供了一套详细的指南,用于将CentOS 5.x 32位系统上的标准PHP 5.1.x软件包升级到最新的5.2.x版本。该教程基于CentOS 5.3 32位系统创建,并涵盖了如何添加开发存储库、更新PHP包等内容。

被折叠的 条评论
为什么被折叠?



