Upgrading to PHP 5.3

From HyperCities Help
Jump to: navigation, search

Acquire PHP 5.3 from the REMI repository

# wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
# wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
# rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

Now upgrade mysql.

# yum -–enablerepo=remi update mysql

Then upgrade php.

# yum --enablerepo=remi update php-\*

Check the PHP version.

# php -v
PHP 5.3.2 (cli) (built: Nov 20 2009 18:18:28)
Copyright© 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright© 1998-2009 Zend Technologies

If you see this message, the upgrade has been successful.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox