i have installed Apache 2.0.52 + mysql 5.0.16 + php-5.1.0 + phpMyAdmin 2.6.4-pl4 exactly how it is described at "http://mpcon.org/apacheguide/apache.php" but i can't connect to the mysql server.
for example this script that i wrote only prints "1"
And thats why i think that i can't connect to the server
<?php
echo "1";
$db = mysql_connect("localhost");
echo "2";
.....
?>
help me fix this!