5

PHP Configuration on IIS 6 Mysql extension is not loaded

view full story
linux-howto

http://serverfault.com – I have limited knowledge of PHP. I would really appreciate your help. I have the problem with "PHPMyAdmin is not working because mysql extension is not loaded." I checked phpinfo and all other extensions(GD,MS SQL,etc) are loaded except mysql. Web Server: IIS 6 PHP Version: 5.2.6 and I also tried 5.2.17. MySQL version: 4.1 I tried the following code in php. <?php echo '<br> php running'; mysql_connect("localhost:3306", "root", "password") or die(mysql_error()); echo "Connected to MySQL<br />"; ?> It only prints out php running and it doesn't connect to the database. (HowTos)