note 104466 rejected from mssql.setup by danbrown
| From: | danbrown@php.net | Date: | Thu, 16 Jun 2011 17:02:01 +0000 |
| Subject: | note 104466 rejected from mssql.setup by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-180623@lists.php.net to get a copy of this message | ||
Note Submitter: sirio3mil at gmail dot com
----
I followed all the steps to install in a have mssql on phpinfo but when i try this code:
<?php
// Server in the this format: <computer>\<instance name> or
// <server>,<port> when using a non default port number
$server = '192.xxx.xx.xx';
// Connect to MSSQL
$link = mssql_connect($server, 'sa', 'xxxxxx');
if (!$link) {
die('Wrong');
}
?>
I get this:
Warning: mssql_connect(): Unable to connect to server
I cann´t understand what im doing wrong cuz I can access this server with the official
microsoft's driver from another server with php in windows, but its impossible in linux with
this installation