Skip to Content.
Sympa Menu

freetds - Re: [freetds] [Fwd: Problems configuring php with freetds]

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: me AT mikesoh.com
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] [Fwd: Problems configuring php with freetds]
  • Date: Wed, 4 Jun 2008 13:58:02 -0600 (MDT)

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" <Frediano.Ziglio AT vodafone.com>
> Subject: Re: [freetds] [Fwd: Problems configuring php with freetds]
> To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
> Message-ID:
> <72EBB5FADDA71343B78E1F09FF471F6E45288A AT OBOMEXO02.omnitel.it>
> Content-Type: text/plain; charset=iso-8859-1
>
>
>
>> -----Original Message-----
>> From: freetds-bounces AT lists.ibiblio.org
>> [mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of me AT mikesoh.com
>> Sent: mercoled? 4 giugno 2008 16.20
>> To: freetds AT lists.ibiblio.org
>> 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: me AT mikesoh.com
>> Date: Fri, May 30, 2008 8:41 am
>> To: freetds AT lists.ibiblio.org
>> --------------------------------------------------------------
>> ------------
>>
>> 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






Archive powered by MHonArc 2.6.24.

Top of Page