Skip to Content.
Sympa Menu

freetds - Re: [freetds] php + mssql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "benny iskandar" <liauwsiauwlong AT hotmail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] php + mssql
  • Date: Mon, 06 Jan 2003 11:57:51 +0700

Hi Frank ,
thx , but I have a problem to in sybase , I tried to :
1. install freetds 0.6 at /usr/local
2. it's done
3. try reinstall php 4.3.0
4. ./configure --with-sybase=/usr/local
5. make
6. make install
7. done

but I don't get it , cause I editing php.ini
need sybase.interface_file = "etc/freetds/interfaces" ,
in Freetds 0.6 no need interface file ?

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' <==== it suppose run ???

, but till now say :
'Call to undefined function: sybase_connect() ' ???


----Original Message Follows----
From: "Frank M. Kromann" <frank AT kromann.info>
Date: Sun, 05 Jan 2003 18:36:28 -0800

Hi,

With php 4.3.0 you can use --with-mssql, and if you installed freetds in
/usr/local you dont need to specify a directory. You need to use the
mssql_* functions and not the sybase_*

- Frank

> hi, all ...
>
> First thanks to FreeTds creator , cause make me get a new street
> for programming database , but
>
> I have a problem to connect my php 4.3.0 to mssql or sybase ,
> I already try the guide line in www.freetds.org :
>
> 1. install freetds
> 2. ./configure --with-sybase=/usr/local
> 3. make
> 4. make install
> 5. done
> 6. reinstall php
> 7. ./configure --with-sybase=/usr/local
> 8. make
> 9. make install
> 10. done
> 11. apachectl restart
> 12. done
>
> but my test.php view error like :
> 'Call to undefined function: sybase_connect() '
>
> any one could help me ?
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





Archive powered by MHonArc 2.6.24.

Top of Page