Re: setup of MSSQL with PHP
| From: | Chris | Date: | Mon, 05 Jul 2004 17:16:52 +0000 |
| Subject: | Re: setup of MSSQL with PHP | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24108@lists.php.net to get a copy of this message | ||
Hey have you uncommented the mssql.dll in php.ini? I have the same setup and
it works. You might try calling the server using its ip address or its dns
name. Also, how are you setup for the php extension on the server? Are you
using the php.exe or the php4isapi.dll for the extension?
"Steve Howie" <steve@jpasystems.com> wrote in message
news:20040704002409.84833.qmail@pb1.pair.com...
> I have PHP running and am trying to get my SQL server installation to run
> with it. I have turned on all the variables in the PHP.ini, but when I
try
> to execute the following:
>
> $db = mssql_connect("WIN2KSRV","sa","xyzxyz") ;
>
> the webpage times out with the message "CGI server time out"
>
> I have verified the names and passwords; they should be correct, although
I
> assume that an error would be generated if it was as simple as that...
>
> I have windows server 2003 with IIS 6 and PHP 4. PHP does run other pages
> just fine.
>
> Any suggestions?
>
> Thanks in advance,
>
> Steve