Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel

mssql nasıl aktif hale getiril

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » Site, Server Genel
 


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02.05.08, 12:11
wdp wdp is offline
Sempron
 
Join Date: Jun 2007
Location: ank
Posts: 29
Rep Power: 0
wdp is on a distinguished road
mssql nasıl aktif hale getiril

linux sunucumda mssql özelliği aktif hale getirip mssql olan başka bir servera bağlanmam gerekiyor.

bu konuyla ilgili sunucuda bir değişiklik yapmak gerekiyormuş. bu konuda bilgisi olan warmı ?
neler yapmak gerekiyor ?


mssql_connect özelliğini aktif hale getirmem gerekiyor.

tşklrer.
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 02.05.08, 17:03
wdp wdp is offline
Sempron
 
Join Date: Jun 2007
Location: ank
Posts: 29
Rep Power: 0
wdp is on a distinguished road
bu konu hakkında bilgi sahibi kimse yokmu :S
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 02.05.08, 18:52
haritSu's Avatar
Media Servers Projector
 
Join Date: Oct 2007
Location: İstanbul
Posts: 796
Rep Power: 1012
haritSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond reputeharitSu has a reputation beyond repute
Send a message via MSN to haritSu Send a message via Yahoo to haritSu
php.ini içerisinde böyle bir satır vardı. Orayı 1 yapmanız yeterli olacaktır sanırım.
__________________
Güzel gören güzel düşünür, Güzel düşünen hayatından lezzet alır...
Bediüzzaman Said Nursi
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 06.05.08, 15:28
wdp wdp is offline
Sempron
 
Join Date: Jun 2007
Location: ank
Posts: 29
Rep Power: 0
wdp is on a distinguished road
malesef dediğin gibi birşey yok .
problemi hala çözemedim
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 06.05.08, 15:46
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 28
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
php içerisinde UZAK SUNUCUDAKİ database'e mi bağlanmak istiyorsun?

mysql_connect(localhost, bla, bla);

gibi
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. 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
  #6  
Old 08.05.08, 00:53
wdp wdp is offline
Sempron
 
Join Date: Jun 2007
Location: ank
Posts: 29
Rep Power: 0
wdp is on a distinguished road
evet sinan günay aynen öyle.

mysql_connect(localhost, bla, bla); değil mssql_connect(localhost, bla, bla); olacak...

php de böyle birşey var ama sunucudan ayarlamak gerekiyor. nereden ayarlandığını bulamadım bn :S
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 11.05.08, 04:26
Cedric's Avatar
WHM VIP Member
 
Join Date: Mar 2008
Posts: 182
Rep Power: 1
Cedric is on a distinguished road
kardeş merhaba.
php.ini içinde
;extension=php_mssql.dll
diye bir satır var. bunun başındaki noktalı virgülü sildikten sonra kaydet. apache restart yaptiktan sonra dener misin.

kolay gelsin.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 11.05.08, 04:35
Cedric's Avatar
WHM VIP Member
 
Join Date: Mar 2008
Posts: 182
Rep Power: 1
Cedric is on a distinguished road
bir de firewall varsa mssql portunu kullanima acmalisin. 1443, 1434, 1433, hangisi bilmiyorum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 12.05.08, 00:07
wdp wdp is offline
Sempron
 
Join Date: Jun 2007
Location: ank
Posts: 29
Rep Power: 0
wdp is on a distinguished road
merhaba


linux serverda dll olmazki :S
yanlışmı bilyorum _?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 12.05.08, 00:24
Cedric's Avatar
WHM VIP Member
 
Join Date: Mar 2008
Posts: 182
Rep Power: 1
Cedric is on a distinguished road
kusura bakma o saatte normaldir, kafam web&php forumlarina gitti herhalde

hic bir fikrim yok acikcasi webde arama ypainca soyle bir sey buldum.


Quote:
Dear all
I will explain here how to run mssql from linux
1-Install TDS
wget http://www.ibiblio.org/pub/Linux/ALP...tds-stable.tgz
tar freetds-stable.tgz
cd freetds-0.64
./configure --with-tdsver=4.2 --prefix=/usr/local/freetds
make
make install
2-make modification on freetds.conf
vi /usr/local/freetds/etc/freetds.conf
[server]
host = <server mssql >
port = 1433
tds version = 4.2
3-Install php or recompile php
./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--with-zlib' '--with-mssql=/usr/local/freetds'
make
make install
4-Restart apache
5-To check mssql make this page
<?php
$db = @mssql_connect("server","username","password") or die("Unable to connect to server");
mssql_select_db("dbname");
echo "<br>"."Thanks";
?>

Ayrica su iki komutu deneyebilirsin

yum install php-mssql
veya
yum install php4-mssql


işe yararsa buraya yazarsan sevinirim
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
GNU/Linux işletim sistemleri üzerinde aktif diskleri görme, disk aktif ve pasif etme RAMBilisim Genel Makaleler 1 12.07.08 15:44
Apache'yi Güvenli Hale Getirmenin 20 Yolu CaLViN Apache Makaleler 4 15.04.08 20:12
CentOs Sunucuyu Hazır Hale Getirmek? lowriderx Site, Server Genel 14 29.03.08 01:33
CURL aktif edemiyorum. khazadum Genel Soru ve Cevaplar 6 06.01.08 12:45
Mssql Yedeğinin Mysql servere taşıma? cbagdatli DB Makaleler 1 06.09.07 11:24


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

Navigasyon
Menü