Normally i have no problems installing PHP. So when i decided to upgrade 5.2.5 to 5.2.6 on my windows dev box. I was surprised to see that php_mysql.dll and php_pgsql.dll were not loading after a clean install. No matter what i tried. I kept getting the “PHP Startup: Unable to load dynamic library” error.
Some years ago this problem was obvious. The problem was always solved by copying the libmysql.dll to windows/system32. But this changed. For the last year i never had to copy this file. So i couldn’t really believe this was the problem. But after trying for some hours. I gave up. Copied the libmysql.dll file to windows/system32. And voila…. the mysql extension now loads. But i still have no solution for the pgsql extension. Which i really need by the way. WTF happened here? How is it possible that two of the most used extensions do not load after a clean install?
UPDATE*
The postgres problem is solvable by installing the postgres server. And adding the PostgreSQL\8.3\bin to the PATH variable. Weird stuff…



Twitter
I am Thijs Lensselink a Webdeveloper from the Netherlands.
I have the same problem and I had posted it to:
http://bugs.php.net/45512
After fixing my broken install i didn’t think about it anymore. On the php.net site is a post about missing XSL and IMAP extensions. Maybe they missed out on MySQL also.
Very useful information. A lot of thanks for your help
emm.. bookmarked