Solved

PHP Driver and SQL Server on different machines?

Posted on 2013-01-08
5
447 Views
Last Modified: 2013-01-24
Hello,

Is it possible to install the MS Drivers for PHP for SQL Server on a different machine from SQL Server?  I am installing Drupal 7 and have to use SQL Server Enterprise.  MSSQL Enterprise is not on the same machine as Drupal.

Microsoft PHP Driver

I ask this because in the help section of the driver, it seems to say that both need to be on the same machine.  I don't have that setup available to me.

So is it possible to have them separate?
0
Comment
Question by:Modifier1000
  • 2
  • 2
5 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 300 total points
Comment Utility
The PHP driver is separate from the server so No, it does not have to be on the same machine.  I have SQLSRV20.EXE installed on all my XP machines running PHP here whether they have an SQL Server on them or not.  

It does have to be on the machine where PHP is running.  So it does have to be installed on the Drupal machine.  It is normal to install it in the PHP 'extensions' directory with the other extensions and drivers.
0
 
LVL 46

Assisted Solution

by:tbsgadi
tbsgadi earned 200 total points
Comment Utility
0
 

Author Closing Comment

by:Modifier1000
Comment Utility
Thank you!
0
 
LVL 46

Expert Comment

by:tbsgadi
Comment Utility
Glad to assist
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
Yep, me too.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now