www.centos.org Forum Index CentOS 4 - Application & Software Support PHP5 and MySQL5
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 6 Votes |
|---|
|
PHP5 and MySQL5 | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/6/17
From
Posts: 1
|
Hi
I am using CentOS 4.3 and wanted to upgrade to PHP5 and MySQL5. After searching the forums, I have found the following: To upgrade to PHP5 edit /etc/yum.repos.d/CentOS-Base.repo Enable CentOSPlus Then do yum update php This worked fine for me. To upgrade to MySQL5 create /etc/yum.repos.d/CentOS-Testing.repo Then put the following into it: Then do yum update mysql This seemed to work fine for me until I got the following error: Quote: Downloading Packages: I have looked at the mirror and can not find a file called RPM-GPG-KEY-CentOS-testingaa at that location, but I can see a file called RPM-GPG-KEY-CentOS-testing. Is this the file it is supposed to get and if it is, how do I make it find this one instead of the one its looking for. Thanks british.assassin |
||
Posted on: 2006/6/17 20:45
|
|||
|
Re: PHP5 and MySQL5 | #3 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/6/26
From
Posts: 2
|
I've followed your neat little guide but my update fails on both mysql and PHP with the following error:
Error: Missing Dependency: php = 5.0.4-3.centos4 is needed by package php-xml Got any idea of what might be wrong? |
||
Posted on: 2006/6/30 12:05
|
|||
|
Re: PHP5 and MySQL5 | #4 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2005/3/16
From San Antonio, Texas
Posts: 22
|
[quote]
Esuk wrote: I've followed your neat little guide but my update fails on both mysql and PHP with the following error: Error: Missing Dependency: php = 5.0.4-3.centos4 is needed by package php-xml Got any idea of what might be wrong?[/quote] I've seen the testing repo fail until yum has passed thru CentosPlus or the other default repos. Try this: In /etc/yum.repos.d/C* change "enabled=0" to "enabled=1" and then rerun yum update If that doesn't work, perhaps you could post any other error messages you get. Good luck. Dave |
||
Posted on: 2006/7/1 13:14
|
|||
|
Re: PHP5 and MySQL5 | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/7/2
From
Posts: 1
|
Just a quick thank-you for this post. I have been beating my head against the wall (figuratively speaking) trying to get PHP 5 and MySQL 5 installed on CentOS 4.3. This thread not only fixed my problem, but I learned something in the process. Thanks!
|
||
Posted on: 2006/7/2 20:18
|
|||
|
Re: PHP5 and MySQL5 | #6 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/6/26
From
Posts: 2
|
Quote:
Thx for your answer and your help Dave, I tried to do it that way but I got the same errormessage as I got before, however I tried to update php-xml but it turned out that it wasn't installed. A yum install php-xml did the trick, it didn't just install phpxml but also upgraded to PHP 5.0.4 without any errors. |
||
Posted on: 2006/7/3 9:50
|
|||
|
Re: PHP5 and MySQL5 | #7 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2006/2/22
From
Posts: 3
|
I tried this, but when I "yum update mysql" I'm getting the following message:
Could not find update match for mysql What should I do? mysql 4.1 is installed and I need to update to 5.1 Also when I run yum update I get the following Error: Missing Dependency: php = 4.3.9-3.15 is needed by package php-pear Thanks |
||
Posted on: 2006/8/3 14:49
|
|||
|
Re: PHP5 and MySQL5 | #8 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2005/3/16
From San Antonio, Texas
Posts: 22
|
MySQL 5.0.22 is definitely available in CentOSPlus.
Be sure you have "enabled=1" in the subsection of your /etc/yum.repo.d/C* file. I haven't look for a couple weeks or longer, but the last time I did look, I think MySQL 5.1 was still very much beta, hence you are very unlikely to see it anywhere near any of the usual yum-repos. Good luck. |
||
Posted on: 2006/8/3 14:56
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
6 Votes
britishassassin




You cannot start a new topic.
You can view topic.