Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6570797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T14:48:04+00:00 2026-05-25T14:48:04+00:00

I generally use linux servers and program in PHP (plus other associated technologies) with

  • 0

I generally use linux servers and program in PHP (plus other associated technologies) with mysql databases. A client has existing ASP sites using MSSQL databases on a Windows server and wants some new sites created on their server using their MSSQL database as the main data source. I have used ASP in the past but much prefer PHP so would rather use this.

I just wanted to confirm that i’m right in saying as long as the server has PHP installed (which it does) then there’s no reason I can’t create a PHP site on the Windows server and just use different connectors to connect to the MSSQL db (rather than what i would usually use for connecting to a MYSQL db). Presumably (other than the different connect/query code) this would work in pretty much the same way as with a linux setup with mysql and i could then code the site in PHP but use their existing datasource?

I would be extremely grateful if anyone could confirm i’m right in saying this and if there’s any other issues that might cause any problems?

Thanks so much for your help as ever,

Dave

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T14:48:05+00:00Added an answer on May 25, 2026 at 2:48 pm

    There are two different libraries to connect to SQL Server from PHP:

    • The legacy mssql extension, which has been discontinued on Windows
    • Microsoft’s sqlsrv extension, which only works on Windows

    I’ve basically worked with the second one and I can say it’s a very interesting product. It’s robust, it has a very nice interface and it’s totally up-to-date. But what I like most is that it has very nice features. E.g.:

    • It can return dates as PHP DateTime objects
    • It provides a PDO driver

    The only drawback of using SQL Server is that there isn’t an easy way to write a cross-platform app but I understand it isn’t problem in your case.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Generally when I use ClickOnce when I build a VB.NET program but it has
We make heavy use of multicasting messaging across many Linux servers on a LAN.
I generally use a manual process: Look at the page, figure out the semantic
It is generally accepted that the use of cursors in stored procedures should be
Every class that wants to use java.util.logging generally needs to declare a logger like
I generally stay away from regular expressions because I seldom find a good use
Apparently we use the Scrum development methodology. Here's generally how it goes: Developers thrash
I constantly hear how bad reflection is to use. While I generally avoid reflection
When using regular expressions we generally, if not always use them to extract some
I'm starting a new project using Linux and PHP, but for the early dev

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.