Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 259
  • Last Modified:

How do I connect to Microsoft Database using PHP

How do I connect to Microsoft SQL Server 2000 using PHP
0
1030071002
Asked:
1030071002
  • 6
  • 4
5 Solutions
 
Chris HarteThaumaturgeCommented:
0
 
Shaun McNicholasSenior Marketing TechnologistCommented:
On your own server - or a hosted server?

Most hosted servers already have the MSSQL connectors installed, but if you need to setup your own server you have to install and setup the MSSQL libraries for php...

The key to the php if you have to set it up - is FreeTDS. You have to download, install, enable and configure all of that in order for php to communicate with MSSQL.

If you're installing php on your own server then just tell me what kind of server it is and I'll point you in the right direction.
0
 
1030071002Author Commented:
on my own server

Okay Maestropsm,
                                   Here is how my system is setup My Sql Server is on a server by it self which is a Microsoft SQL Server 2000 on a different machine. My website is on a IIS Machine
which I have a program that can communicate with the SQL Server. The IIS Machine is a Windows Server 2008 Standard Server. I am assuming that I would install the FreeTDS on the IIS machine ?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
1030071002Author Commented:
Take in mind the entire operation is windows base.
0
 
Shaun McNicholasSenior Marketing TechnologistCommented:
You already have php installed and working in the IIS machine?
0
 
1030071002Author Commented:
No I dont
0
 
Shaun McNicholasSenior Marketing TechnologistCommented:
First get php running
http://windows.php.net/downloads/releases/php-5.2.17-nts-Win32-VC6-x86.msi

Then follow these directions for getting FreeTDS up and running after you've completed the PHP installation.
http://docs.moodle.org/20/en/Installing_MSSQL_for_PHP
0
 
1030071002Author Commented:
can you give me some instructions on what to click in the wizard once I run this
http://windows.php.net/downloads/releases/php-5.2.17-nts-Win32-VC6-x86.msi
i am running IIS 7
0
 
Shaun McNicholasSenior Marketing TechnologistCommented:
Doesn't that just start the installer? It's an MSI file so it should just start the installation I thought.... maybe you have to have the Visual Studio setup already....

Anyway - the install directions do give you the instructions on running the installer from the MSI in silent mode from a command prompt. You could give it a try.

Attached is the install.txt file.
install.txt
0
 
1030071002Author Commented:
still working on this
0
 
1030071002Author Commented:
I had to pay some one to show me an example.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now