Monday, February 1, 2010

PHP5/MySQL trick on Windows platform

It’s not like the legacy setup on win32 platform, there are some tweaks to do before you can totally integrate MySQL to PHP5.

For example if you are using a Windows 2003 as your web server and you want to enable php5 server side scripting and MySQL database server.

1. Open your php.ini located on [Drive:\windows]

2. Uncomment [extension=php_mysql.dll]

3. Insert [extension_dir=drive:\php5\ext]

4. Copy [libmysql.dll] from [drive:\C:\Program Files\MySQL\MySQL Server 5.0\lib\debug] to [drive:\windows]

5. Finish

Thats all folks

No comments:

Post a Comment