well dudes, if u wonder someday why Contradiction hanged himself, i would tell ya bcoz he tried every single thing to let php talk to mysql,and after 5 days of reading from forums and tutorials and lots of damn things about it, and yet still not working,am really tired of this coz i opened the php.ini more than hundred times and checked it more than thousands,and believe me i did all the steps right and still not working,the steps are:i enabled C:\php to the path,i put libmysql.dll in windows directory and enabled extension_dir="C:\php\ext", & omit the ; before extension=php_mysql.dll,the phpinfo(); indicates that the directory to the extension is correct which is C:\php\ext, and i configured the apache file to take the php.ini file from C:\php and i placed it there and it is showing me correct directory where it is placed as C:\php\php.ini also showing other configurations that i have done to the php.ini, inside the C:\php\ext i have the php_mysql.dll, i even put C:\php\ext in the path, i placed libmysql.dll even in system and system32 windows folder coz i got crazy of the error that it is not loading mysql.dll, am really sick of this error, i made everything for all what the forums said, all the tutorials but still not working :(,plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz help :D,i will really appreciate that :) ; Directory in which the loadable extensions (modules) reside. extension_dir = "C:\php\ext" ;extension=php_mssql.dll ;extension=php_msql.dll extension=php_mysql.dll ;extension=php_oci8.dll ;extension=php_openssl.dl error_prepend_string no value no value | <<<--- phpinfo(); indicates that extension_dir is error_reporting 2047 2047 | correctly set to extension_dir,which means that expose_php On On | it is reading from the php.ini,and should load the extension_dir c:\php\ext c:\php\ext | extension=php_mysql.dll from C:\php\ext where file_uploads On On | i placed it there !!!!,yet it is not working!!!! :(