Re: [Fwd: Problems configuring php with freetds]

[email protected]
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Thanks for the response!

Touching the two files worked; however, now I can't connect to the
databases using PHP:

Warning: mssql_connect() [function.mssql-connect]: Unable to open socket
(severity 9) in /home/sohmc/www/mssql_functions.php on line 4

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to
server: 192.168.2.30 in /home/sohmc/www/mssql_functions.php on line 4

Warning: mssql_select_db(): supplied argument is not a valid MS SQL-Link
resource in /home/sohmc/www/mssql_functions.php on line 7
Unable to connect to the database.

I've verified that the server is up and running using the methods
described here:
http://www.freetds.org/userguide/serverthere.htm

telnet and tsql all show the server is up.

Any thoughts?

> Date: Wed, 4 Jun 2008 16:35:02 +0200
> From: "ZIGLIO, Frediano, VF-IT" <[email protected]>
> Subject: Re: [freetds] [Fwd: Problems configuring php with freetds]
> To: "FreeTDS Development Group" <[email protected]>
> Message-ID:
> 	<[email protected]>
> Content-Type: text/plain;	charset=iso-8859-1
>
>
>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[email protected]] On Behalf Of [email protected]
>> Sent: mercoled? 4 giugno 2008 16.20
>> To: [email protected]
>> Subject: [freetds] [Fwd: Problems configuring php with freetds]
>>
>> I didn't receive a response.  Can anyone help me with this?
>>
>> ---------------------------- Original Message
>> ----------------------------
>> Subject: Problems configuring php with freetds
>> From:    [email protected]
>> Date:    Fri, May 30, 2008 8:41 am
>> To:      [email protected]
>> --------------------------------------------------------------
>> ------------
>>
>> I've successfully compiled freetds.  But when I go to
>> configure php to use
>> the freetds libraries, I get this error:
>>
>> configure: error: Directory /usr/local/freetds-0.82 is not a FreeTDS
>> installation directory
>>
>> How can I fix this?  Configure worked with my old version of
>> freetds-0.62.
>>
>> Thanks!
>>
>> ~Mike
>>
>
> We sent a mail to Frank Kromann to change how FreeTDS is detected. You
> should however be able to workaround touching
> /usr/local/freetds-0.82/include/tds.h and
> /usr/local/freetds-0.82/lib/libtds.a.
>
> freddy77
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.