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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-29-2003, 01:42 PM
|
#1
|
LQ Newbie
Registered: Apr 2003
Distribution: Redhat 8
Posts: 14
Rep:
|
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?
|
|
|
04-29-2003, 02:13 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Is mysql running:
service mysql status
Also create a phpinfo page and see if php-mysql is enabled.
|
|
|
05-01-2003, 02:42 PM
|
#3
|
LQ Newbie
Registered: Apr 2003
Distribution: Redhat 8
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
05-01-2003, 02:46 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
|
|
|
05-01-2003, 09:27 PM
|
#5
|
LQ Newbie
Registered: Apr 2003
Distribution: Redhat 8
Posts: 14
Original Poster
Rep:
|
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... )
|
|
|
05-02-2003, 01:37 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 12:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|