I've just installed PHP5/MySQL5/Apache2 on my new laptop running Windows XP. I copied the PHP scripts and re-created my SQL tables from my old laptop but alas, it does not work on my new laptop. After 1 whole day (I'm slow ) of checking, I found out the PHP5 does not enable MySQL by default. So, I proceeded to read all about getting it enabled. PHP.net is either overly helpful or I'm plain dumb (I would like to think the former is true ). Can someone please point out how to enable MySQL for PHP5. Thanks.
Edit php.ini and load the module mysql.dll. This modules is not included in the MSI package, but you can find it in the ZIP package.
Thanks hnn.. I've already did that. Here's what I have done: - Use the zip instead of msi - amended extension_dir = "c:\php\ext" - added extension=php_mysql.dll - environment path set to c:\php
And now you feel soooooooooooooo stupid. thanks for sharing This will get me thru the next windows "WTF!"-moment.