Problem with PHP and MySQl after install
| From: | Don | Date: | Wed, 02 Apr 2003 17:51:17 +0000 |
| Subject: | Problem with PHP and MySQl after install | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142017@lists.php.net to get a copy of this message | ||
1) Installed MySQL 4.0.12
2) Installed PHP 4.3.1
One of my config options was --with-mysql=shared,/usr
3) added the following to /etc/ld.so.conf and ran ldconfig:
/usr/lib/libmysqlclient.so
/usr/lib/mysql
4) When I try to run phpmyadmin, I get the following error:
cannot load MySQL extension,
please check PHP Configuration.
5) Looking at the explanation of the errro still leaves me baffled on how to
proceed:
[1.20] I receive the error "cannot load MySQL extension, please check PHP
Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called
"MySQL extension". This extension may be part of the PHP server
(compiled-in), otherwise it needs to be loaded dynamically. Its name is
probably mysql.so or mysql.dll. phpMyAdmin tried to load the extension but
failed.
What was I missing fom my install that is causing my problem?
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 3/25/2003