php-mssql connectivity problem

Problems with the Linux version of XAMPP, questions, comments, and anything related.

php-mssql connectivity problem

Postby jana » 24. February 2007 07:29

Hi to all,
i am new to lampp. my sql server 2000 is running in windows xp sp2 where the ip of this machine is 192.168.0.251 and i hav lampp in Fedora core 6. i configured the freetds.conf file. where i changed the host name of the sql server 2000 to 192.168.0.251 but when i run this code i get this error.
Code: Select all
<?php
mssql_connect('192.168.0.251', username, pwd);
?>


ERROR
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 192.168.0.36 in /opt/lampp/htdocs/mssqltest.php on line 2

can any one sort it out this issue.
jana
 
Posts: 1
Joined: 24. February 2007 06:49

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests