Alright finally found a solution/hack I can live with to make revo & php 5.2.13 play nice together.
In a nutshell, Im trying to somehow, by rook or crook, run revolution on php 5.2.13 thru 5.2.8. Im doing that because, well, those are the php versions currently running on most windows IIS hosting services. (I don’t want to upgrade php to 5.3.x yet, as most hosting companies don’t offer that -- too bleeding edge for them.)
To make revo load on php v5.2.13-v5.2.8, basically, you just steal the libmysql.dll (v.5.0.45), from an older version of php, v5.2.4, and drop it into your windows php directory replacing v5.0.51, and then reboot IIS. Exact steps below:
1. download php v5.2.4 binaries here:
http://museum.php.net/php5/php-5.2.4-Win32.zip Save it on your desktop.
2. Browse to your php installation folder with window’s explorer. For me, php lives here: ’c:\prog files x86\php’. Now rename the existing file ’libmysql.dll’ in that folder to ’libmysql.dll.orig’ or any name that you will remember that it’s the original installed version that came with php.
3. Browse to your desktop and open the zip file you just downloaded. Copy the ’libmysql.dll’ from inside it.
4. Browse back to your php installation folder. Paste the new ’libmysql.dll’ in there. You should now see the files ’libmysql.dll’, and ’libmysql.dll.orig’ both in the php folder (along with all the rest of your php files, of course)
5. Reboot IIS service, so it sees your new dll for the downgrade replacement to take effect.
6. run phpinfo() and you should now see your Mysql client APi version is listed as 5.0.45. It’s no longer 5.0.51(a).
7. you can now go ahead and install modx revo on php versions 5.2.13-5.2.8. Woot.
Disclaimer: Im certain doing this foolish hack will cause some mysql conflict down the road. How can it not? Downgrading libmysql.dll from v5.0.51a to v5.0.37, the fallout is sure to rear it’s ugly head when you least need or want it to happen...
...but for now, modx revo can be installed, and run on the recent, stable 5.2.8+ php releases (as of this post). Hopefully the good php folks will finally release a version of 5.2 that doesn’t have that wretched 5.0.51a libmysql.dll included. You should immediately upgrade this hack when they do and install the new php version.
hope that helps out some other poor modx revo/win/IIS folks wondering why revo won’t install on IIS running fastcgi & php v5.2.13 thru 5.2.8.