WHM 2086 » WHM Soru ve Cevaplar

ODBC Nasil Aktifleştiririm

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » WHM cPanel » WHM 2086 » WHM Soru ve Cevaplar
 


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 17.12.07, 12:54
Sempron
 
Join Date: Dec 2007
Location: İstanbul
Posts: 27
Rep Power: 0
spyhidden is on a distinguished road
ODBC Nasil Aktifleştiririm

Serverda ODBC yi aktifleştirmek için neler yapmam gerekiyor sanırım php.ini dosyasında bazı yerler açılmalı ben modülleri aktifleştirdim ama hala çalışmadı yapmam gereken başka ne gerekli?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 17.12.07, 17:26
Onursal's Avatar
fshbcr
 
Join Date: Jun 2007
Location: Çorlu
Age: 28
Posts: 638
Rep Power: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Send a message via MSN to Onursal
Code:
[ODBC]
;odbc.default_db    =  Not yet implemented
;odbc.default_user  =  Not yet implemented
;odbc.default_pw    =  Not yet implemented

; Allow or prevent persistent links.
odbc.allow_persistent = On

; Check that a connection is still valid before reuse.
odbc.check_persistent = On

; Maximum number of persistent links.  -1 means no limit.
odbc.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no limit.
odbc.max_links = -1

; Handling of LONG fields.  Returns number of bytes to variables.  0 means
; passthru.
odbc.defaultlrl = 4096

; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
; of uodbc.defaultlrl and uodbc.defaultbinmode
odbc.defaultbinmode = 1
__________________
Deizm Agnostik
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 18.12.07, 08:59
Sempron
 
Join Date: Dec 2007
Location: İstanbul
Posts: 27
Rep Power: 0
spyhidden is on a distinguished road
bunlar default olarak aynı fakat bir script çalıştırıyorum

Fatal error: Call to undefined function odbc_connect()

hatasını veriyor.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 18.12.07, 09:35
Onursal's Avatar
fshbcr
 
Join Date: Jun 2007
Location: Çorlu
Age: 28
Posts: 638
Rep Power: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Send a message via MSN to Onursal
loglar ? .. windowsmu kullanıyorsun linuxmu halen onu bile bilmiyoruz. mssql ile bağlıyorsun yoksa mysql ilemi

Last edited by Onursal; 18.12.07 at 09:41.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 18.12.07, 09:51
Onursal's Avatar
fshbcr
 
Join Date: Jun 2007
Location: Çorlu
Age: 28
Posts: 638
Rep Power: 1092
Onursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond reputeOnursal has a reputation beyond repute
Send a message via MSN to Onursal
php.ini dosyana aşağıdaki satır eklimi.

windows kullanıyorsan
extension=php�_mssql.dll ? php versiyonundur

linux kullanıyorsan.
extension=php_odbc.dll
ekle eğer çalışmazsa
extension=odbc.so
diye değiş

register_globals on yap


bunlarda olmazsa yeniden kur

yum install php-odbc
veya
yum install php4-odbc
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 23.12.07, 21:27
Sempron
 
Join Date: Dec 2007
Location: İstanbul
Posts: 27
Rep Power: 0
spyhidden is on a distinguished road
makinam linux asp ile yapılmış bir siteden veri çekicem son verdiklerine bakıcam sonucu yazarım. teşekkürler.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü