PDA

View Full Version : Mssql Php


goodtimeshaxor
22.02.2007, 00:18
How do I get MS SQL working with PHP, by recompiling PHP with the MS SQL module?

Message me at [email protected] (MSN)

FidoW
22.02.2007, 00:59
recompiling php ? lol...

uncomment line for mssql ini php.ini

extension=php_mssql.dll

goodtimeshaxor
22.02.2007, 01:20
I did that and it didn't do anything -__-;;

Server Machine
(Windows with MS SQL 2005)

connecting with:

Webserver Machine
(Linux)

dirkr
22.02.2007, 07:11
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 :)

V0gelz
22.02.2007, 09:11
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.

empathon
22.02.2007, 19:55
Maybe u should open mssql port and allow external connections ?
Notice: its not secure, so do it just for ip of ur web server

goodtimeshaxor
24.02.2007, 04:00
Already tried the FreeDTS. Might try to use Ajax.