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 6627791
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:03:20+00:00 2026-05-25T22:03:20+00:00

I am trying to connect to sql server 2008 in windows authentication mode (w/o

  • 0

I am trying to connect to sql server 2008 in windows authentication mode (w/o username and password) by using $connect=mssql_connect('username\SQLEXPRESS')
But it is giving me a fatal error Fatal error: Call to undefined function mssql_connect()
What should I give in the place of username and password when I am logging into the sql server express using windows authentication mode?(I am using sql server management studio)
Note: I have changed mssql.secure_connection = On on php.ini file

  • 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-25T22:03:20+00:00Added an answer on May 25, 2026 at 10:03 pm

    It sounds as if your copy of PHP doesn’t have the MS SQL module built into it.

    If you’re running PHP 5.3 on Windows, this is because the MS SQL module is no longer available from PHP 5.3 and upwards. See the PHP manual for confirmation of this: http://www.php.net/manual/en/mssql.requirements.php

    The same manual page also gives details of an alternative driver provided by Microsoft, which you can download and install (assuming you have permissions to install stuff on your web server of course).

    If you’re running a Linux-based PHP installation or PHP 5.2 or earlier on Windows, your problem is still that the MS SQL module hasn’t been installed into your copy of PHP, but it should be possible to get it installed and working.

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

Sidebar

Related Questions

I'm trying to connect to SQL Server using Windows authentication. The code works fine
I am trying to connect to SQL Server 2008 using 'sa' username and its
I am trying to connect Sql Server Data Base using windows authentication from my
I've just installed SQL Server 2008 Developer edition and I'm trying to connect using
I am trying to connect to a SQL Server 2008 instance from a Windows
I am trying to connect the Sql Server 2008 R2 with java using JDBC.I
I am trying to connect to SQL Server 2008 server from Java here is
I am trying to connect SQL Server from a Windows service. Now my Windows
I'm trying to connect to SQL Server on Ubuntu 9.04 using Ruby. I translated
I am trying to use SMO (VS 2010, SQL Server 2008) to connect to

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.