RushRules.com
123YourWeb.com
Langerado Music Festival
Rush
AmDoc
Approved Green Business (Annual)

PHP 5.2.5 and MySQL on IIS 6.x

Dec 6, 2007
I feel like I have to post this solution to a real pain in the neck issue.

When running PHP 5 on Windows IIS there are lots and lots of references to 'access violations' and 'missing dwmapi.dll' which seem to be causing lots of confusion and problems for poor folks just trying to run web servers.

Here are two solutions to running PHP 5 and MySQL 5 on Windows IIS:

1. To solve the 'access violation' issues, upgrade to the newest PHP - version 5.2.5

2. To solve the problem of the php_mysql.dll not loading, check that libmysql.dll is not already present in C:WindowsSystem32. If it is present, remove it and restart IIS. In my situation, there was an old libmysql.dll sitting in the System32 directory and that was loading before the new libmysql.dll which was sitting in the PHP 5.2.5 folder at C:php

Hope this helps some of you other webmasters out there.

Keywords: php_mysql.dll, libmysql.dll, dwmapi.dll
Powered by WebRing.