mySQL not working with PHP

YueHong

Member
Feb 18, 2008
80
0
0
I am using PHP 5.2.6 and mySQL 5.018. I have libmysql.dll file in php, php/ext, windows, and system32 folder. I also can see extension=libmysql.dll in php.ini file and I have tested that mySQL is actually running properly that I can connect to it using mySQL control center software. This is the second day I tried to make it works. But why is that I can't see mysql in phpinfo()? When I tried to connect to mySQL database using PHP, it display a blank page even with wrong password.

Any suggestion on ways to solve the problem? Thanks.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If phpinfo doesn't show the mysql module then it's not loading it and you need to figure out why.
 

JDMnAR1

Lifer
May 12, 2003
11,984
1
0
Did you restart PHP after editing php.ini? Have you verified that the DLL is on the server in a location on the Path statement?