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 01-22-2005, 09:48 AM   #1
no_names_left
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
php cannot load mysql extension


Hi,

I have a fresh installation of fedora 2 and am trying to set up my website. I have some php scripts whcih require mysql. I am certain that this is installed but when trying to use phpMyAdmin it says "cannot load mysql extension".

How can I tell whether the php extensions are installed and how can I fix this problem?

Thanks,

James
 
Old 01-22-2005, 10:02 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
I'm assuming you installed PHP via rpm, if so, you need to grab the php-mysql rpm's. If you installed by source, you need to specify mysql support during configure.
 
Old 01-22-2005, 12:10 PM   #3
no_names_left
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Hi,

I didn't install php or mysql myself - it was installed as standard on the fresh installation of Fedora. So I haven't configured anything.

Where does php store itsn't config files and can I modify them?

Thanks,

James
 
Old 01-22-2005, 04:47 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Do a:

rpm -qa | grep php

And see what php packages you have installed. That should at least let you know if the php-mysql package is even installed, if not, you'll have to install it.
 
Old 03-02-2005, 07:31 PM   #5
morrehotdeals
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
I am having the exact same error on my Trustix box. I ran the command:

rpm -qa | grep php and got the following results.

php-mysql-5.0.3-2tr
php-5.0.3-2tr

Help.
 
  


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
Need to load Mysql-php from scratch mattp Programming 9 10-19-2005 03:12 PM
PHP difference between --without-mysql and extension=mysql.so progressdll Linux - Software 0 10-14-2004 07:44 AM
phpmyadmin cannot load mysql extension mandrake 10.1 oneride21 Linux - Newbie 1 10-08-2004 09:40 AM
Mysql Php Extension SilentK Linux - Newbie 11 06-11-2004 08:47 AM
PHP does not show mysql as an extension Linix Linux - Newbie 7 01-31-2004 09:13 AM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration