LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2003, 01:42 PM   #1
Shinjuku
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 8
Posts: 14

Rep: Reputation: 0
Angry PHP and MySQL after upgrading Redhat


I had a perfectly fine operational Apache Server running with PHP and MySQL support under Redhat 8, then after upgrading to Redhat 9, PHP still works, but the whole MySQL support element is now gone. I downloaded and installed the php-mysql latest rpm from rpmfind.net but still I'm getting nowhere (and yes, I've restarted httpd since then. Any ideas?
 
Old 04-29-2003, 02:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Is mysql running:
service mysql status

Also create a phpinfo page and see if php-mysql is enabled.
 
Old 05-01-2003, 02:42 PM   #3
Shinjuku
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 8
Posts: 14

Original Poster
Rep: Reputation: 0
Yes, MySQL is running. It's the actual *support* for MySQL access in PHP that has disappeared, and unfortunately, I don't see any RH9 version of that php-mysql.rpm that enabled the support in Redhat 8.
 
Old 05-01-2003, 02:46 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Here you go:
http://rpmfind.net/linux/rpm2html/se...redhat-9&arch=
 
Old 05-01-2003, 09:27 PM   #5
Shinjuku
LQ Newbie
 
Registered: Apr 2003
Distribution: Redhat 8
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by david_ross
Here you go:
http://rpmfind.net/linux/rpm2html/se...redhat-9&arch=
Yeah, tried that, no luck... that was the first place I looked. Is is possible that the old file I installed in Redhat 8 is interfering? I mean, should I do something like rpm -e php-mysql.old.version.rpm and then install the new version? (and how come the new version isn't available on redhat.com and what are Redhat thinking turning off MySQL support by default... )
 
Old 05-02-2003, 01:37 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
I don;t think it was ever on by default - you needed to select it when you installed.
You can uninstall the old one with:
rpm -e php-mysql

Did you get any errors when you installed php-mysql?

What did phpinfo say? Do you have mysql support?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading PHP to include MySQL support zaichik Linux - Newbie 2 12-23-2004 07:50 AM
Upgrading PHP..and maybe MySQL too? Vort3x Mandriva 4 11-23-2004 06:40 PM
Upgrading PHP,.. and maybe MySQL too? Vort3x Linux - Software 1 10-29-2004 12:35 PM
PHP can't connect MySQL after upgrading to php5 Mikessu *BSD 2 08-13-2004 03:55 PM
Upgrading Apache MySQL PHP on RH9 TheLimey Linux - Newbie 0 05-22-2004 04:51 PM


All times are GMT -5. The time now is 09:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration