Sunday, October 26, 2008

Installing Apache PHP MySQL on WinXP

Mm... this is not the discovery of the century but... just post it out incase some one look for it when face the same problem like I do.

1st: Apache

2nd, PHP
3rd, MySQL

Then some config

But still, when you think everything is alright,  your php-mysql will still not working.

Your PHP page will show (with display error: on):
  Fatal error: Call to undefined function mysql_connect().

Your apache error.log will show:
  Unable to load dynamic library 'C:\\PHP\\ext\\php_mysql.dll

What I did is place this file (../PHP/libmysql.dll) into this location (../WINDOWS/system32/).

Then it all happened like magic. 
And I am so happy. 

No comments: