On 9/1/06, cadas <[EMAIL PROTECTED]> wrote:
>
> Pc saya pake centos 4.2, default phpnya sudah support mssql-unixODBC, cuman
>  belum mengenal fungsi mssql_odbc.
>
>  Akhirnya saya coba compile php dengan menambahkan opsi
>  -with-mssql=/usr/local/Freetds , sebelumnya saya telah mengisntall Freetds.
>
>  Setelah selesai compile, dan tidak ada eror, saya coba restart apache,
>  tetapi masih belum bisa menjalankan fungsi mssql_connect(),

coba di edit file /usr/local/freetds/etc/freetds.conf tambahkan
[MyServer70]
host =  XX.XX.XX.XXX(your MSSQL IP)
port = 1433
tds version = 7.0
client charset = UTF-8

>  Di phpinfo(), versi php kok masih php yang lama ya???

kalo cuma recompile, versi php gak akan berubah.

kalo boleh ngasih saran, lebih baik pake database abstraction layer
macam AdoDB. gak perlu susah2 recompile dan lebih extensible.

-- 
Adi Setiawan


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/balinux/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Kirim email ke