Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread Micah Stevens
Is it from php or the mssql driver? If it's from the driver, then the library is installed at least partially correctly. If it's from php, perhaps not. From there you can narrow it down by checking the connection parameters outside of php to make sure they're right, is there a mssql client for

Re: Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread php
The error I'm getting is from the PHP function. Both mssql_connect and PEAR are returning the same error. As far as I can tell, mssql only returns the last line of an error message so I can't be sure that the error I'm seeing is from MSSQL or PHP. Running TCPdump shows no traffic is going to my

Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread Micah Stevens
Hmm.. if you're using a function like mssql_error or something like that, it's likely coming from the driver and not php.. Did you see this on the docs page? I have spent the last 2 days trying to get PHP to connect to MSDE on Windows 2003 Web Edition. Although initally PHP would connect

Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread Micah Stevens
There's actually a few issues with php5 connecting that have solutions on this page: http://us2.php.net/manual/en/function.mssql-connect.php You may of read it already though.. On Tuesday 01 November 2005 3:24 pm, Micah Stevens wrote: Hmm.. if you're using a function like mssql_error or

Re: [PHP-DB] PHP MSSQL on Linux

2005-11-01 Thread php
See what perplexes me is that the extension seems to be installed (I uninstalled the php-mssql rpm and got an error that the extension wasn't installed). Reinstalling the rpm returned me to my original error that the connection failed. As I mentioned TCPDUMP tells me that there is no traffic