Tech Thought

Tech tips, hints, and general musings. PHP, Perl, Mysql, Javascript, AJAX, JSON, Linux, Mac OSX

Entries Tagged ‘fedora’

yum fails: Fixing Fedora Core 5 yum repositories

Fedora Core 5 is currently EOL – it’s not supported any more.  As a result, you might find you can’t use yum to install packages any more – you get an error message about this file not existing:
http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/repodata/repomd.xml
This is because the repositories that yum uses aren’t there anymore.  However you can modify the repositories in [...]

Comments (5)

Upgrading PHP on Fedora Core 5 (or other distro)

Download the RPMs you require for your new PHP installation from the following URLs. If you have RPMs that aren’t listed, use the search function:

php-5.2.5

pcre-6.6
php-cli-5.2.5
php-common-5.2.5
php-pear-1.7.1
php-gd-5.2.5
php-pd-5.2.5
php-mysql-5.2.5
sqllite

Or if you are upgrading another distrobution, search for the equivalents here.
Check which PHP RPMs you currently have installed:
rpm -qa | grep phpphp-5.1.6-1.6
Output should be something like:
php-pear-1.4.9-1.2

php-pdo-5.1.6-1.6

php-gd-5.1.6-1.6

php-mysql-5.1.6-1.6
** Do The Following [...]

Comments (4)

What redhat/fedora distribution am I running?

To determine which version of Fedora or Redhat you are running, simply type:
cat /etc/redhat-release
This will then display something like:
Fedora Core release 5 (Bordeaux)

Leave a Comment