How to upgrade php 5.1.6 to 5.2.1.7

Support/Development for PHP
v123shine
New Forum User
New Forum User
Posts: 2
Joined: Wed May 04, 2011 3:02 pm
Location: IND

How to upgrade php 5.1.6 to 5.2.1.7

Unread post by v123shine »

Hi,
I want to update my php 5.1.6 to 5.2.1.7
I try #yum list php* finds the following installed packages:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
php.x86_64 5.1.6-27.el5_5.3 installed
php-cli.x86_64 5.1.6-27.el5_5.3 installed
php-common.x86_64 5.1.6-27.el5_5.3 installed
php-gd.x86_64 5.1.6-27.el5_5.3 installed
php-imap.x86_64 5.1.6-27.el5_5.3 installed
php-mbstring.x86_64 5.1.6-27.el5_5.3 installed
php-mysql.x86_64 5.1.6-27.el5_5.3 installed
php-pdo.x86_64 5.1.6-27.el5_5.3 installed
php-xml.x86_64 5.1.6-27.el5_5.3 installed
php5-ioncube-loader.x86_64 3.1-07051711 installed
Available Packages
php-bcmath.x86_64 5.1.6-27.el5_5.3 base
php-dba.x86_64 5.1.6-27.el5_5.3 base
php-dbase.x86_64 5.1.6-15.el5.centos.1 extras
php-devel.x86_64 5.1.6-27.el5_5.3 base
php-ldap.x86_64 5.1.6-27.el5_5.3 base
php-mcrypt.x86_64 5.1.6-15.el5.centos.1 extras
php-mhash.x86_64 5.1.6-15.el5.centos.1 extras
php-mssql.x86_64 5.1.6-15.el5.centos.1 extras
php-ncurses.x86_64 5.1.6-27.el5_5.3 base
php-odbc.x86_64 5.1.6-27.el5_5.3 base
php-pear.noarch 1:1.4.9-6.el5 base
php-pear-Auth-SASL.noarch 1.0.2-4.el5.centos extras
php-pear-DB.noarch 1.7.13-1.el5.centos extras
php-pear-Date.noarch 1.4.7-2.el5.centos extras
php-pear-File.noarch 1.2.2-1.el5.centos extras
php-pear-HTTP-Request.noarch 1.4.2-1.el5.centos extras
php-pear-Log.noarch 1.9.13-1.el5.centos extras
php-pear-MDB2.noarch 2.4.1-2.el5.centos extras
php-pear-MDB2-Driver-mysql.noarch 1.4.1-3.el5.centos extras
php-pear-Mail.noarch 1.1.14-1.el5.centos extras
php-pear-Mail-Mime.noarch 1.4.0-1.el5.centos extras
php-pear-Net-SMTP.noarch 1.2.10-1.el5.centos extras
php-pear-Net-Sieve.noarch 1.1.5-2.el5.centos extras
php-pear-Net-Socket.noarch 1.0.8-1.el5.centos extras
php-pear-Net-URL.noarch 1.0.15-1.el5.centos extras
php-pecl-Fileinfo.x86_64 1.0.4-3.el5.centos extras
php-pecl-memcache.x86_64 2.2.3-1.el5_2 extras
php-pgsql.x86_64 5.1.6-27.el5_5.3 base
php-readline.x86_64 5.1.6-15.el5.centos.1 extras
php-snmp.x86_64 5.1.6-27.el5_5.3 base
php-soap.x86_64 5.1.6-27.el5_5.3 base
php-tidy.x86_64 5.1.6-15.el5.centos.1 extras
php-xmlrpc.x86_64 5.1.6-27.el5_5.3 base
php53.x86_64 5.3.3-1.el5_6.1 updates
php53-bcmath.x86_64 5.3.3-1.el5_6.1 updates
php53-cli.x86_64 5.3.3-1.el5_6.1 updates
php53-common.x86_64 5.3.3-1.el5_6.1 updates
php53-dba.x86_64 5.3.3-1.el5_6.1 updates
php53-devel.x86_64 5.3.3-1.el5_6.1 updates
php53-gd.x86_64 5.3.3-1.el5_6.1 updates
php53-imap.x86_64 5.3.3-1.el5_6.1 updates
php53-intl.x86_64 5.3.3-1.el5_6.1 updates
php53-ldap.x86_64 5.3.3-1.el5_6.1 updates
php53-mbstring.x86_64 5.3.3-1.el5_6.1 updates
php53-mysql.x86_64 5.3.3-1.el5_6.1 updates
php53-odbc.x86_64 5.3.3-1.el5_6.1 updates
php53-pdo.x86_64 5.3.3-1.el5_6.1 updates
php53-pgsql.x86_64 5.3.3-1.el5_6.1 updates
php53-process.x86_64 5.3.3-1.el5_6.1 updates
php53-pspell.x86_64 5.3.3-1.el5_6.1 updates
php53-snmp.x86_64 5.3.3-1.el5_6.1 updates
php53-soap.x86_64 5.3.3-1.el5_6.1 updates
php53-xml.x86_64 5.3.3-1.el5_6.1 updates
php53-xmlrpc.x86_64 5.3.3-1.el5_6.1 updates
[root@best ~]#
I'm running in cento 5.6 (64 bits)
I'm using Parallels Small Business Panel 10.1.0
I dont want using php 5.3.x because many applications not compatible.

Anyone can help me to guide upgrade php 5.1.6 to 5.2.1.7
please!
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Re: How to upgrade php 5.1.6 to 5.2.1.7

Unread post by Highland »

I think 5.2.17 was removed when 5.3.6 was released. PHP 5.2 is EOL so you really need to consider going to 5.3
"Its not a mac. I run linux... I'm actually cool." - scott
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: How to upgrade php 5.1.6 to 5.2.1.7

Unread post by breun »

The PHP 5.2.17 RPM packages are still in the atomic repository, but I wouldn't upgrade to those, since PHP 5.2.x is no longer maintained.
Lemonbit Internet Dedicated Server Management
v123shine
New Forum User
New Forum User
Posts: 2
Joined: Wed May 04, 2011 3:02 pm
Location: IND

Re: How to upgrade php 5.1.6 to 5.2.1.7

Unread post by v123shine »

Can you guide me, how to upgrade to php 5.2.17, please!
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: How to upgrade php 5.1.6 to 5.2.1.7

Unread post by breun »

One way to do it would be to browse to http://www6.atomicorp.com/channels/atomic/ and going into the RPM directory for your distribution, version and architecture and then downloading and installing the php* packages you need.

But I really recommend not going with these PHP 5.2.x packages, since PHP 5.2.x is not maintained anymore. Security vulnerabilities and other problems found in PHP 5.2.x will not be fixed by the PHP team, nor by Scott here.

I suggest either staying with the supported OS packages or upgrading to PHP 5.3 and going with the flow.
Lemonbit Internet Dedicated Server Management
Post Reply