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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T03:21:18+00:00 2026-06-18T03:21:18+00:00

we already have a Moodle installation working in this scenario: linux + php5 +

  • 0

we already have a Moodle installation working in this scenario: linux + php5 + freetds + sql server.

but we just can’t figure out how to link drupal 7 to sql server in the same manner.

what configs should we use? anyone ever tried this?

drupal simply does not show up in the available databases list.

note: we are already able to connect php to sql server using freetds, but just can’t figure out how to do this on Drupal 7.

  • 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-06-18T03:21:20+00:00Added an answer on June 18, 2026 at 3:21 am

    You can’t use sqlsrv module on Linux because it requires PDO_SQLSRV driver that works only on Windows (see this comment)

    To use FreeTDS you will need to write a Drupal Database Driver by yourself (similar with sqlsrv). Or don’t use the database abstraction layer at all and do the call by yourself inside your module (if you only need MS SQL for parts of you project.

    The good news (I hope) is that you can install dblib driver (in Ubuntu: sudo apt-get install php5-mssql) and use the sandbox project. A little info regarding this sandbox projects you can find in author’s comment here. How to use it in you settings.php file can be seen here.

    dblib database support in Drupal is still experimental, so test it before using it.

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

Sidebar

Related Questions

I already have this issue but I cannot remember how to solved it. (I
I already have a database in SQL Server 2012 Enterprise edition. It contains :
We already have a good build server in Hudson but we want something that
I already have several ways to solve this, but I am interested in whether
I already have a working android app with several persisted objects/classes. But what if
I already have seen a couple of questions going in this direction, but nothing
I already have my program compiling on the linux gcj, but i'd like to
I already have a deploy.rb that can deploy my app on my production server.
I already have the following scenario working: Assembly A.exe : Calling WinForms application. Assembly
I have already have this code to force these URLs to HTTPS: RewriteCond %{HTTPS}

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.