Skip to Content.
Sympa Menu

freetds - RE: [freetds] php + mssql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: RWilbert AT exchange.webmd.net
  • To: freetds AT lists.ibiblio.org
  • Subject: RE: [freetds] php + mssql
  • Date: Thu, 9 Jan 2003 09:27:29 -0500

'--with-sybase-ct=shared,/usr' <- should point to the freetds directory
whick should also be defined as the environment var $SYBASE


Also I had to use --with-sybase=/usr/local/freetds <- my path to freetds

-----Original Message-----
From: James K. Lowden [mailto:jklowden AT schemamania.org]
Sent: Wednesday, January 08, 2003 11:32 PM
To: freetds AT lists.ibiblio.org
Subject: Re: [freetds] php + mssql


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
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds




Archive powered by MHonArc 2.6.24.

Top of Page