Page 1 of 1
Upgrading to PHP 5.3.0 Need a little help
#1
Posted 06 July 2009 - 02:35 PM
Hey, i have root access to a linux server with CentOs installed
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
#2
Posted 06 July 2009 - 05:33 PM
You should find all the info at http://www.php.net/manual/en/
However, as you have to ask the question, I would highly recommend you seek expert help unless you're familar with command lines and working in a Unix environmant.
However, as you have to ask the question, I would highly recommend you seek expert help unless you're familar with command lines and working in a Unix environmant.
#3
Posted 06 July 2009 - 11:12 PM
try using the following:
yum update
then once its done updating its repository run:
yum update php
However if CentOS have nt upgraded their repositories you will need to download and compile from source and then install it.
We can lend a hand if required (but would have to charge as your not a client
)
yum update
then once its done updating its repository run:
yum update php
However if CentOS have nt upgraded their repositories you will need to download and compile from source and then install it.
We can lend a hand if required (but would have to charge as your not a client
#4
Posted 04 October 2009 - 07:24 AM
Anth Winter, on 06 July 2009 - 02:35 PM, said:
Hey, i have root access to a linux server with CentOs installed
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
Please go through the url : http://www.php.net/m...nix.apache2.php
MyDediServer Support
Australia's Premium Server Provider
#5
Posted 12 October 2009 - 11:08 AM
Anth Winter, on 06 July 2009 - 02:35 PM, said:
Hey, i have root access to a linux server with CentOs installed
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
Be careful though, there are known compatibility issues in PHP 5.3.*
#6
Posted 02 January 2010 - 11:03 AM
Anth Winter, on 06 July 2009 - 02:35 PM, said:
Hey, i have root access to a linux server with CentOs installed
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
Do you have any control panel installed on your server.. if its cpanel you can do it by using the script easyapache.
#7
Posted 22 February 2010 - 09:48 AM
Anth Winter, on 06 July 2009 - 02:35 PM, said:
Hey, i have root access to a linux server with CentOs installed
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
php version is 5.1.6-23.2.el5_3
ive been looking on guides on how to upgrade my php version but cant find anything, not even on PHP.net (its a maze)
Ive tried yum update php, but this just stays with 5.1.6
Anyone know any guides or able to help me upgrade?
Thanks ppl:)
Just to give you a little background info in case you are still having problems, yum uses a file that contains the list of software that is installed and urls where it can find updates for each peice of software. These are called repositories. The organisation that provides CentOS has a repository which it maintains and this is set as the default for most applications in the CentOS operating system when you install it.
CentOS at this time only have php 5.1.6 in their repository. Which is why when you run yum update php it comes back with the same version and not the latest.
As suggested above you can compile from source however this is not a good solution if you want to keep a stable production environment server. When you comnpile from source you have to manually manage any dependencies the software may have. The very thing that makes YUM so useful is that it manages these for you.
By far the easiest and most effective solution is to google for repositories that have later versions of php add it to your repositories list and then run YUM update php. From memory, I think a good one with later versions of php is called atomic. These are tried and tested builds that are easy to maintain. There are lots of tutorials on the internet that can take you through these processes step by step.
I went through this exact same problem you went through but it's fairly easy to solve when you find a good guide.
Good luck
#8
Posted 15 July 2010 - 02:50 PM
Hello,
As the other posters have said the Centos Yum repository only holds up to version 5.1.6 of php. This isn't going to change as it is defined by RedHat (Centos is basically redhat with the branding changed). I had to upgrade my php version to 5.2 to run magento on centos 5. I had to mount a different yum repository than the Centos . I will try and dig out the notes on how I did it.
Cheers
Dave
As the other posters have said the Centos Yum repository only holds up to version 5.1.6 of php. This isn't going to change as it is defined by RedHat (Centos is basically redhat with the branding changed). I had to upgrade my php version to 5.2 to run magento on centos 5. I had to mount a different yum repository than the Centos . I will try and dig out the notes on how I did it.
Cheers
Dave
Share this topic:
Page 1 of 1
Help



















