Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 sql with php

Author  Topic 

c_owl
Starting Member

5 Posts

Posted - 2010-05-16 : 11:44:44
hi all
im new to php and im stuck...
i have installed ms sql 2008 express, works fine and remote login wokrs good.
i have installed apache 2.2
i have installed php 5.2.13
on os server 2008. all works ok on there own
now this is were im stuck...

i cant get php to connect to mssql to get database info.

can anyone help please

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2010-05-16 : 13:44:53
When you say you can't get it to connect, could you be more specific?

Don't know how to open a SQL connection in php?
Connecting throws an error (if so, which one)?
something else?

--
Gail Shaw
SQL Server MVP
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2010-05-16 : 13:51:17
This site has a useful selection of Connection Config Information, which may help:

www.connectionstrings.com
Go to Top of Page

c_owl
Starting Member

5 Posts

Posted - 2010-05-16 : 14:23:59
hi
while setting up php with apache i needed to add somthing in the config file of apache for php.
i have not done anything like that for mssql. do i need to add anything for the config...
of php to sql. am i mssing somthing like driver/mod

i hope this explains a littlemore of whet i need todo
Go to Top of Page
   

- Advertisement -