![]() |
|
|
#1 |
|
Архивный участник
Join Date: Oct 2006
Posts: 108
|
How do I get MS SQL working with PHP, by recompiling PHP with the MS SQL module?
Message me at [email protected] (MSN) |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
recompiling php ? lol...
uncomment line for mssql ini php.ini extension=php_mssql.dll |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Oct 2006
Posts: 108
|
I did that and it didn't do anything -__-;;
Server Machine (Windows with MS SQL 2005) connecting with: Webserver Machine (Linux) |
|
|
|
|
#4 |
|
Архивный участник
Join Date: Nov 2006
Posts: 204
|
gg on linux.. you need to use a wrapper for that..
easiest to go is windows+apache+php and connect taht to the mssql for linux you gotta work with FreeDTS or something like that, its a sort of adapter that runs the microsoft sql command thru the freedts to the mssql machine thus allowing it to work with linux linux -> freedts -> mssql afaik no direct connection is possible from a linux machine to mssql server if i'm wrong. correct me ..cause i've been looking into it for quite some time
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 15
|
I have the same bloody problem. I use iis for my webserver and i can't connect to. I'm going to test it with apache today. Hope this works. If not i'm screwed lol.
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Feb 2006
Posts: 136
|
Maybe u should open mssql port and allow external connections ?
Notice: its not secure, so do it just for ip of ur web server |
|
|
|
|
#7 |
|
Архивный участник
Join Date: Oct 2006
Posts: 108
|
Already tried the FreeDTS. Might try to use Ajax.
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|