For those of you who read the thread entitled "getting PHP 5 to work with MySQL " and just wished to make PHP work with MySQL like it used to, I did this:
- Installed PHP 5 on C:\PHP.
- Created a directory "C:\PHP\ext".
- Copied the php_mysql.dll file to this directory ("C:\PHP\ext").
- Added this line to the php.ini file:
extension_dir = "c:\PHP\ext"
- On the php.ini file I uncommented the extension parameter to load the mysql extension.
extension=php_mysql.dll
And with that, I was able to work with MySQL the way I used to in PHP < PHP5.
Note:
It may not work if you don't have the MySQL client because PHP won't find some dll's, so either install the client or just copy the dlls to your WinBugs Path.
Hope this helps.