LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   php cannot load mysql extension (https://www.linuxquestions.org/questions/linux-software-2/php-cannot-load-mysql-extension-280831/)

no_names_left 01-22-2005 09:48 AM

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

trickykid 01-22-2005 10:02 AM

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.

no_names_left 01-22-2005 12:10 PM

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

trickykid 01-22-2005 04:47 PM

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.

morrehotdeals 03-02-2005 07:31 PM

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.


All times are GMT -5. The time now is 01:15 AM.