I have tried to install the latest drupal (this is my first time) .
I edited php.ini and placed many extensions to load including

extension=php_pdo.dll
extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll

which i believe are the ones that have to do with mysql connection...Even with this, I try to install drupal and I get the error
"In your ./sites/default/settings.php file you have configured Drupal to use a mysql server, however your PHP installation currently does not support this database type."

I created a test page which uses the phpinfo()

phpinfo()

and there is a part where it says "Additional Modules" and it's in blank. Does this mean the modules are not loading? If so, what might be the problem. I have read many forums and haven't found something similar. I just read that doing the phpinfo will tell you if the modules are running or not. But I can't figure out why this is happening?
Please help.
Thank you,
Mickey

P.S I have installed MYSQL without any problems and the apporiate permissions.

Comments

hellbinder’s picture

UPDATE:

When I try to see the site even though I get the error, it says all this.

"Site off-line
The site is currently not available due to technical problems. Please try again later. Thank you for your understanding.

--------------------------------------------------------------------------------

If you are the maintainer of this site, please check your database settings in the settings.php file and ensure that your hosting provider's database server is running. For more help, see the handbook, or contact your hosting provider.

The mysql error was: Unable to use the MySQL database because the MySQL extension for PHP is not installed. Check your php.ini to see how you can enable it..
"

Please note the part in bold. Hopefully this helps somehow. My php.ini has the extensions in it.

ANOTHER UPDATE LaTeST!
I did somethings and it turns out that the php IS loading the MYSQL. I can see it in the phpinfo with some info. I still get the same message though. I need help, I am running out of ideas here. :(

xmacinfo’s picture

To properly configure PHP and MySQL, you should first look for support from the PHP folks.

http://www.php.net/support.php

Once the basic requirements are met, a web server running PHP and MySQL properly configured, you will then be able to ask for help here for your Drupal installation.

A lot of users here are installing a LAMP stack on their computer using an installer. These installers are configuring Apache, MySQL and PHP in order to have a seamless environment.

Marco Palmero’s picture

Funnily enough I got this error...

Rechecked everything I did and I found that I accidentally deleted a forward slash when copying pasting my db users and passwords:

mysqli:/

supposed to be:

mysqli://

koppie’s picture

I know this is a very old thread, but I want to offer another solution: restart apache. I had a brand new lamp stack and I couldn't figure out why Drupal didn't like my mysql database. I tried restarting apache and everything Just Worked. Yay!

clevername’s picture

1) yum install -y mysql mysql-server - Ensure that MySQL and MySQL server are installed

2) yum install -y php php-mysql - Ensure that PHP and the PHP MySQL components are installed

3) Restart Apache

(or use apt-get install equivalent on debian servers). ^^