freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Robert Gonzalez <robert AT robert-gonzalez.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Fwd: connect to SQL server 2005
- Date: Sat, 22 May 2010 18:14:54 -0700
Have you considered building the mssql extension and using that instead of
ODBC? Aside from that, are your environment vars set properly? One of the
things that had tripped me up in the past was an environment variable called
FREETDSCONF that was not set but was expected by PHP. When it didn't find it
PHP gave its best shot at finding but the PHP path that is checked is not
the same as the installation path of FreeTDS so I was getting a crapped out
connection.
On Wed, May 19, 2010 at 9:29 PM, <jwan AT ea.ucla.edu> wrote:
> Hi,
>
> SQL Server version : SQL 2005
> FreeTDS version (or snapshot date, if not a release) : freetds-0.82
> which client library you are using : unixODBC (libtdsodbc.so)
> what language or Perl module, as appropriate, you're using : php (
> built in odbc module)
> your client OS and hardware architecture (red hat x64)
>
> I can connect through isql and tsql fine. but having trouble when
> connect using php. I have made sure that I set the mbstring in
> php.ini correctly to take UTF-8. but looks like the 4th
> tds_process_tokens() get halt in the middle the process and did not
> receive the packet I should receive and when I run the php script, it
> gets "segmentation fault"
>
> can someone help please?
>
> Thanks
>
> Jun
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
--
Robert Gonzalez
http://www.robert-gonzalez.com
http://twitter.com/RobertGonzalez
http://www.linkedin.com/in/robertanthonygonzalez
-
[freetds] Fwd: connect to SQL server 2005,
jwan, 05/20/2010
-
Re: [freetds] Fwd: connect to SQL server 2005,
Robert Gonzalez, 05/22/2010
-
Re: [freetds] Fwd: connect to SQL server 2005,
jwan, 05/25/2010
- Re: [freetds] Fwd: connect to SQL server 2005, Robert Gonzalez, 05/25/2010
-
Re: [freetds] Fwd: connect to SQL server 2005,
jwan, 05/25/2010
-
Re: [freetds] Fwd: connect to SQL server 2005,
Robert Gonzalez, 05/22/2010
Archive powered by MHonArc 2.6.24.