webForumDet fria alternativet

PHP (linux) och SQL2000

PHPur PHP

5 svar · 137 visningar · startad av Agaith

AgaithMedlem sedan jan. 2001191 inlägg
#1

Någon som vet om det får och i så fall hur man gör för att koppla upp sig mot en SQL2000 server på en win2k maskin från en linuxburk?

nanneMedlem sedan dec. 19991 749 inlägg
#2

Manualen är bra ;)
http://www.php.net/manual/en/function.mssql-connect.php

------------------

"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow

nanne.net

AgaithMedlem sedan jan. 2001191 inlägg
#3

Har kollat lite på det där. Vet du om jag kan lägga till någon modul eller om jag måste kompilera om php?

nanneMedlem sedan dec. 19991 749 inlägg
#4

To compile PHP to support M$SQL on LINUX:

-Download FreeTDS: www.freetds.org
and compile as required. Make sure to compile with the correct version of the protocol (read the readme)

-Compile PHP with '--with-sybase=/usr/local/freetds' or wherever you put freetds.

PHP will now support both mssql_*** and sybase_*** from Linux.. enjoy!

Från kommentarerna på: http://www.php.net/manual/en/ref.mssql.php

------------------

"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow

nanne.net

AgaithMedlem sedan jan. 2001191 inlägg
#5

tackar :)

hmmm...skall nog läsa lite mer om saker innan jag låter andra leta reda på det åt mig ...

nanneMedlem sedan dec. 19991 749 inlägg
#6

Lugnt... jag visste inte heller att man var tvungen att göra så. Men nu vet ju jag med :)

------------------

"Information wants to be free -- because it is now so easy to copy and distribute casually -- and information wants to be expensive -- because in an Information Age, nothing is so valuable as the right information at the right time."
- John Perry Barlow

nanne.net

135 ms totalt · 3 externa anrop · v20260731065814-full.29ac60f6
132 ms — hämta forumlista (db)
0 ms — hämta statistik (cache)
133 ms — hämta tråd, inlägg och bilagor (db)