Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 22.02.2007, 00:18   #1
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default Mssql Php

How do I get MS SQL working with PHP, by recompiling PHP with the MS SQL module?

Message me at [email protected] (MSN)
goodtimeshaxor is offline  
Old 22.02.2007, 00:59   #2
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

recompiling php ? lol...

uncomment line for mssql ini php.ini

extension=php_mssql.dll
FidoW is offline  
Old 22.02.2007, 01:20   #3
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

I did that and it didn't do anything -__-;;

Server Machine
(Windows with MS SQL 2005)

connecting with:

Webserver Machine
(Linux)
goodtimeshaxor is offline  
Old 22.02.2007, 07:11   #4
dirkr
Архивный участник
 
Join Date: Nov 2006
Posts: 204
Default

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
dirkr is offline  
Old 22.02.2007, 09:11   #5
V0gelz
Архивный участник
 
Join Date: Mar 2006
Posts: 15
Default

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.
V0gelz is offline  
Old 22.02.2007, 19:55   #6
empathon
Архивный участник
 
Join Date: Feb 2006
Posts: 136
Default

Maybe u should open mssql port and allow external connections ?
Notice: its not secure, so do it just for ip of ur web server
empathon is offline  
Old 24.02.2007, 04:00   #7
goodtimeshaxor
Архивный участник
 
Join Date: Oct 2006
Posts: 108
Default

Already tried the FreeDTS. Might try to use Ajax.
goodtimeshaxor is offline  
 


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

Forum Jump


All times are GMT. The time now is 17:31.