[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    Re: [freetds] php + mssql
From:       "James K. Lowden" <jklowden () schemamania ! org>
Date:       2003-01-09 4:31:37
[Download RAW message or body]

On Wed, 08 Jan 2003 10:55:10 +0700, "benny iskandar"
<liauwsiauwlong@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@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic