At 08:59 AM 3/13/2005, you wrote:

Steve Buehler wrote:

At 08:15 AM 3/13/2005, you wrote:

Hi All,

have installed into /var/www/html the dir phpMyAdmin-2.6.1-pl3 and changed the url path like below, but, when typing localhost/phpMyAdmin-2.6.1-pl3/index.php, I get the following,

cannot load mysql extension,
please check PHP Configuration
Documentation <http://localhost/phpMyAdmin-2.6.1-pl3/Documentation.html#faqmysql>


/**
* Your phpMyAdmin url
*
* Complete the variable below with the full url ie
http://localhost/phpMyAdmin-2.6.1-pl3/
*

This probably isn't the problem in itself, but I thought I might share this with you. But here is how mine is setup:
$cfg['PmaAbsoluteUri'] = 'http://'.$_SERVER["HTTP_HOST"].'/phpmyadmin/';
That just assures me that I can use the IP address or domain name without it giving me a problem and I can also move the directory to another server without having to change this line each time. Where mine has "/phpmyadmin/", you will of course need to change that to the directory it is in.
Steve, below is how It looks after your suggestions, but, still with the same errors. Cheers.
$cfg['PmaAbsoluteUri'] = 'http://'.$_SERVER["HTTP_HOST"].'/phpMyAdmin-2.6.1-pl3/';
$cfg['PmaAbsoluteUri_DisableWarning'] = FALSE;

The link it gave you to look at the documentation has the following info:
----begin cut and paste------
[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 distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
----end cut and paste----


Are you running this on windows or linux? I am running all of mine on RedHat 9, RHEL ES 3 & RHEL ES 4 using rpms to install everything. So the version of "PHP-MySQL" that I am running on my RedHat 9 is "php-mysql-4.2.2-17.2". Do you have the php-mysql installed if you are running on linux? If you are running on Windows...do you have php_mysql.dll installed? Can you connect to your database from "ANY" of your php scripts? Or is this the only one you can't connect from?
Steve



-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to