Hi,
now i have the following configuration:
server1.domain.com -> winnt + apache + php4.0.4
server2.domain.com -> winnt + ms sql server 7.0
server3.domain.com -> windows 2000 + iis 5 + php3.0.15 + ms sql server 7.0
server4.domain.com -> win98 + omnihttpd2.08 + php4.0.4

I have a file teste.php that has this piece of code:
  $conn_id = mssql_connect("server2.domain.com","login","password") or
die("Erro de Conexão!");
I have put this file on server1, server3 and server4

On server1 i get this:
Warning:MS SQL: Unable to connect to server: server2.domain.com
On server3 and server4 it works properly and i can retrieve the data i need.

I also have a file teste2.php that has this piece of code:
  $conn_id = mssql_connect("server3.domain.com","login","password") or
die("Erro de Conexão!");
I have put this file on server1, server3 and server4

On server1 i get this:
Warning:MS SQL: Unable to connect to server: server3.domain.com
On server3 and server4 it works properly and i can retrieve the data i need.

So i guess the problem is with apache. Either it is a problem with apache
configuration or apache don't work with ms sql server 7.0

Any ideias? Am I missing simething?
Think it'll be better to change to iis, so i'll get things working quickly.

Thanks,

Carlos André Marques Moreira 
[EMAIL PROTECTED] 
Bolsista CNPq / RHAE 
SENAI-CE/CETAE 

2001 Ano Internacional do Voluntário

 

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to