I'm trying to connect to my MS SQL2005 DB with PHP using this commando:
$sql = mssql_connect($myserver) or die ("Could not connect to database: ".mssql_get_last_message()
);
But I get an error saying: HTTP 500 Internal Server Error.
My PHP works. Tried with this:
<?php
// Show all information, defaults to INFO_ALL
phpinfo();
// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);
?>
Can anyone help me?
Start Free Trial