Skip to Content.
Sympa Menu

freetds - Re: [freetds] php + mssql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] php + mssql
  • Date: Wed, 8 Jan 2003 23:31:37 -0500

On Wed, 08 Jan 2003 10:55:10 +0700, "benny iskandar"
<liauwsiauwlong AT hotmail.com> wrote:
> > then I execute phpinfo() , it say included :
> > --with-mysql=shared,/usr' '--with-unixODBC=shared,/usr'
> > '--with-recode=shared,/usr' '--enable-xslt'
> > '--with-xslt-sablot=shared,/usr'
> > '--with-snmp=shared' '--enable-ucd-snmp-hack'
> > '--with-sybase-ct=shared,/usr'
> >
> > 'Call to undefined function: sybase_connect() ' ???
>
> I think php is failing to load FreeTDS's libctl. It seems to be looking
> for it in /usr. By default, the FreeTDS libraries are in /usr/local.
> Did you configure FreeTDS "--prefix=/usr"?
>
> benny> no , I already install FreeTDS in usr/local
> "--prefix=/usr/local"

That was my point. FreeTDS is installed in /usr/local, but php is looking
for it in /usr.

If you move it to /usr or reconfigure php to look in /usr/local, I think
things will go better.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page