| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| 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?
|
|
#2
| ||||
| ||||
| 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 |
|
#3
| |||
| |||
|
bunlar default olarak aynı fakat bir script çalıştırıyorum Fatal error: Call to undefined function odbc_connect() hatasını veriyor. |
|
#4
| ||||
| ||||
|
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. |
|
#5
| ||||
| ||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
| |




