Portal Home > Knowledgebase > Articles Database > PHP 5.1 to 5.2 on Fedora Core 5
PHP 5.1 to 5.2 on Fedora Core 5
Posted by kye172, 07-09-2008, 08:47 AM |
Hi all,
Im a little new to Linux to be honest, played with it a few years ago but never anything serious
I have a Fedora Core 5 VPS currently running PHP 5.1.6, and wish to upgrade to 5.2 so I can run Magento eCommerce software.
I've managed to install yum, and after running yum update php, it just updates to 5.1.x still
My understanding of it currently is I need to point it to new repositories with 5.2 in?
If anyone can give me a simple solution it would be much appreciated, preferably something idiot proof as I can't risk knocking out my websites if/when I mess up lol
Regards,
Kyle
|
Posted by ServerSurgeon George, 07-09-2008, 10:23 AM |
Hi,
Try the following:
Please let me know if you have any problems.
|
Posted by kye172, 07-09-2008, 01:00 PM |
root@vps869 ~]# tar xfz rpms.tar.gz
[root@vps869 ~]# rpm -ivh *.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
error: cannot create %sourcedir /usr/src/redhat/SOURCES
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@vps869 ~]#
Get that far and that?
I'm logged in as root too
Regards,
Kyle
Last edited by Christian; 07-09-2008 at 04:53 PM.
Reason: Removed question regarding services
|
Posted by ServerSurgeon George, 07-09-2008, 05:09 PM |
You forgot to run the first yum command which installs the requirements(rpm-build, gcc, etc)
|
Posted by kye172, 07-09-2008, 05:11 PM |
I had done that, sorry, I'd only pasted part of the command line log
I have solved the problem now, I found another repository that enabled me to just use yum update php
Thanks for your help
Kyle
|
Add to Favourites Print this Article
Also Read