Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-10-2002, 07:50 AM   #1
LQ Newbie
Registered: Nov 2002
Location: Denmark
Distribution: redhat 8.0
Posts: 1

Rep: Reputation: 0

Just installed the Redhat 8.0 distro.
Setup Apache (2.0.?)+php (4.2.2) are OK

Mysql giving me this answer:
"cannot load MySQL extension, please check PHP Configuration".

MySql should be included in PHP (4.2.2.) ?

Does anyone out there have an idea of whats going on?

regrds fdy
Old 11-17-2002, 01:56 AM   #2
Registered: Jan 2002
Posts: 56

Rep: Reputation: 15

Originally posted by fdy

MySql should be included in PHP (4.2.2.) ?
You would think it would be installed by default.

Uninstall the php RPM and then reinstall it from source using the '--with-mysql' option.

Old 06-15-2003, 10:42 PM   #3
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0

I have the same problem. Except in my phpinfo it says it has support for MySQL. I have also installed the php-MySQL package. And I can't seem to get it to work. Is there some more configureing to do? where do I look next?

I am useing RedHat 9.0
Old 06-16-2003, 04:29 AM   #4
LQ Newbie
Registered: Jun 2003
Posts: 21

Rep: Reputation: 0
I had the same exact problem. what i did was following.. and have no idea how it worked.. but it works.

Downloaded newest source for apache/php and did install
downloaded rpm for mysql and did rpm install

things just seem to work after.. ofcourse i tried to do mysql from source but was having too hard of a time.

Note: you should remove old installation and rpms for each product if things don't work.. cuz i ended up doing it and have no idea if that helped.
Old 06-16-2003, 08:13 AM   #5
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
too late

Just after I wiped it and made it a mondrake box. (it worked first go) Oh well. It's working anyway.

Old 06-16-2003, 08:16 AM   #6
Registered: Mar 2003
Location: Washington DC, USA
Distribution: Redhat
Posts: 212

Rep: Reputation: 30
when installing the packages with RH8, did you select PHP support kwith Apache and select mySQL as the database?


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
MySql and PhP on RedHat 9 eckertc1 Red Hat 1 03-07-2005 03:17 PM
Problem installing PHP with MySQL on RedHat 9 d2army Linux - Newbie 1 07-11-2004 06:58 PM
Redhat 9 and Apache/MySQL/PHP dr00bie Linux - Software 0 02-10-2004 05:51 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 01:06 AM
PHP and MySQL after upgrading Redhat Shinjuku Linux - Software 5 05-02-2003 01:37 PM > Forums > Linux Forums > Linux - Software

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

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