Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th November 2009, 04:52 PM
juanfgs's Avatar
juanfgs Offline
Registered User
 
Join Date: Mar 2008
Location: Entre Rios, Argentina
Posts: 159
linuxfedorafirefox
How to downgrade to PHP 5.2 on Fedora 11

Hi there, it's been a long while since I posted here.
This is for anyone interested in downgrading their version of php in a "yum friendly" way.

********************************
WARNING: This works for me for now, if your system experiences any problem after trying this, it is YOUR RESPONSABILITY not mine.
I'll try to update this post if I experience any malfunction after a while
********************************
First, remove php, php-cli and php-common
It took me all the morning to find the way to do this, and tried many ways to solve it, first of all, just in case, add the following option to your yum.conf:

Code:
showdupesfromrepos=1
remember to remove it once you have PHP installed

Create a new repo files for Leonidas:

leonidas.repo

Code:
[leonidas]
name=Leonidas 11 - i586
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
baseurl=http://mirror.internode.on.net/pub/fedora/linux/releases/11/Everything/i386/os/
enabled=1
metadata_expire=7d
gpgcheck=0
includepkgs=openssl php-* php-cli php-common readline

[leonidas-update]
name=Leonidas 11 - i586
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=i386
enabled=1
metadata_expire=7d
gpgcheck=0
includepkgs=openssl php-* php-cli php-common readline
Edit your fedora.repo and fedora-updates.repo files, adding the following line to each repo:


Code:
exclude=openssl php-* php-common readline  php-pdo mod_suphp
This is important so you will be able to update your system normally later (with the proper updates for the packages of fedora 11).

An older version of libreadline is required, as well as older versions of openssl, in order to install them you will have to do some nasty stuff with rpm

Download manually the old openssl package, and readline packages, then install them using the following command for each one:
rpm -ivh --force --excludedocs openssl-0.9.8k-1.fc11.i686.rpm

then proceed to install php with yum.

Edit: Sorry I messed up with the title, it should say "on Fedora 12" can anyone change it?
__________________
I'm back... again...
Reply With Quote
  #2  
Old 14th January 2010, 10:54 AM
Aliaric's Avatar
Aliaric Offline
Registered User
 
Join Date: Jan 2010
Posts: 28
linuxopera
thanks for this post
Reply With Quote
  #3  
Old 27th May 2010, 08:33 PM
juanfgs's Avatar
juanfgs Offline
Registered User
 
Join Date: Mar 2008
Location: Entre Rios, Argentina
Posts: 159
linuxfedorafirefox
Re: How to downgrade to PHP 5.2 on Fedora 11

sorry for the bump, but just wanted to confirm that this howto still works for Fedora 13 "Goddard" (as long as the Leonidas repositories are online).



(again sorry for the bump, just upgraded to Goddard)
__________________
I'm back... again...
Reply With Quote
  #4  
Old 29th November 2010, 04:18 PM
74knots Offline
Registered User
 
Join Date: Nov 2010
Posts: 1
linuxfedorafirefox
Re: How to downgrade to PHP 5.2 on Fedora 11

It works also for fedora 14 x86_64 with some minor changes to the .repo file:

[leonidas]
name=Leonidas 11 - x86_64
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
baseurl=http://mirrors.adnettelecom.ro/fedora/linux/releases/11/Everything/x86_64/os/
enabled=1
metadata_expire=7d
gpgcheck=0
includepkgs=openssl php-* php-cli php-common readline

[leonidas-update]
name=Leonidas 11 - x86_64
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/11/Everything/x86_64/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f11&arch=x86_64
enabled=1
metadata_expire=7d
gpgcheck=0
includepkgs=openssl php-* php-cli php-common readline

Thank you for the post
Reply With Quote
  #5  
Old 20th December 2010, 08:54 PM
alexthegreat Offline
Registered User
 
Join Date: Dec 2010
Posts: 2
windows_7chrome
Re: How to downgrade to PHP 5.2 on Fedora 11

this link helped me a lot:

http://mirror.alva.ge/pub/other/php5.2fc12/

it contains all the packages needed. and i have installed them on Fedora 14 without any problem or any dependencies.

just delete your PHP 5.3 and install these ones one by one (it will tell you, if you're in wrong order).

wow! enjoy!
Reply With Quote
Reply

Tags
downgrade, fedora, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Downgrade to Amarok 1.4 Fedora 10? RimFrost Using Fedora 2 2nd March 2009 02:32 PM
Fedora Kernel downgrade colonal Installation and Live Media 9 13th June 2008 09:33 AM
Downgrade Fedora JMO Installation and Live Media 3 9th June 2008 03:35 AM
Downgrade Fedora Libraries blueboy4 Using Fedora 4 6th June 2008 04:48 AM
Downgrade PHP on Fedora Core 4 Luca_000 Using Fedora 2 21st May 2006 12:23 PM


Current GMT-time: 02:26 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat