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:
Post a Comment