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 |
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.
|
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 |
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. |
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. |