Tutorials

Setup MySQL for PHP on Windows

Step 5: Setup MySQL for PHP on Windows

Restart Apache

Restart the Apache Web Server.

I recommend doing this from the restart option under the apache section on your start menu. Watch the window that's displayed to see if there are any errors.

If there are no errors PHP should now be able to communicate with the MySQL server.