Error:"PHP server doesn't have MYSQL module loaded or you can't use the mysql_(p)

Hi (Please excuse my explanations as I am a beginner)

I followed your individual installation tutorial for Apache, MySQL and PHP.

The Apache is running with the sun icon saying Apache 2.2 in the window when open, at the bottom (status bar?) Apache/2.2.14 (win32) PHP/5.2.12 is displayed so I think this is ok!?

I installed MySQL and can log in the “MySQL command line client” with my password.

I installed PHP and made the changes to the Apache httpd.conf file.

In Dreamweaver I create a site - Document type

- testing server all get the DW blue tick!

When i try to add a SQL database connection after naming the DB - adding Localhost to server field putting in a user and password and then click on select next to the database:field; 

Dreamweaver gives me this:
"PHP server doesn't have MySQL module loaded or you can't use the mysql_(p)connection functions"

I have no clue what to do next?

Help please :rolleyes:

edit the php.ini file
remove the semicolon from the start of the line where it sais extension=php_mysql.dll
restart apache

thanks although i had already removed it from the extension=php_mysqli.dll with the “i” as i understood this was for the improved features - no?

You mentioned earlier the version of PHP and Apache that you are using.
What version of MySQL do you have there?

Hi thank you for your help.

This is what I installed.

mysql-essential-5.1.42-win32.msi

apache_2.2.14-win32-x86-no_ssl.msi

php-5.2.12-Win32

Sadly, dreamweaver doesn’t use mysqli - you will need mysql for dreamweaver.

Oh so do I put the “;” back in front of - extension=php_mysqli.dll

and remove from the - extension=php_mysql.dll ?

You can safely remove the semicolon from both lines.

Sadly after restarting Apache and MySQL I still get the same problem.