Page 1 of 1

Yum error on PHP update - Error: Cannot find a valid baseurl

Posted: Sun May 24, 2009 6:08 pm
by mikemike
This isn't strictly PHP, but it is indirectly.

I am trying to update my version of PHP from 5.1 to 5.2 - my box is the following:
Fedora Core 6
Apache 2
Currently PHP 5.1
Runs PLESK 8.2.1

The plesk manual tells me to use their packages to update components, but I can't find one for PHP - the manual then tells me to just update it how I normally would, this is using yum.

Code: Select all

[root@s15288948 ~]# yum update php
Setting up Update Process
Setting up repositories
Error: Cannot find a valid baseurl for repo: extras
 
My repo files have been the same since I got the box last year and Yum has worked perfectly since then. Am I doing something stupid, or missing something obvious?

Re: Yum error on PHP update - Error: Cannot find a valid baseurl

Posted: Tue May 26, 2009 4:46 am
by jaoudestudios
I am on CentOS 5.3 and yums repo latest release of php was 5.1.6. So to get round this I just compiled the latest release of php 5.2.9 from source. So you could always do the same. Make sure you take a backup of your libphp5.so first - just in case!

However, I also have a Fedora 8 & Fedora 10 server and from yum they do have php 5.2.6.