Hi Team,
I am newbie to PHP. I am in a process of cofiguring the PHP, able to communicate with the MYSQL database. I used the following script to perform that task.
<?php
$con = mysql_connect("localhost:3306","monty","some_pass");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}// some codemysql_close($con);
?>
But, I am having problems in establishing the connection between PHP and MYSQL. I am getting an HTTP 500 internal server error message when I typed http://localhost/SQL.php.
Please, find the attachment for the error message.
Note: I am using Apache server 2.0.59
Thanks for your assistance in advance.
Cheers,
Krishna.