Solved

PHP Driver and SQL Server on different machines?

Posted on 2013-01-08
5
450 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 83

Accepted Solution

by:
Dave Baldwin earned 300 total points
ID: 38756985
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
ID: 38798167
0
 

Author Closing Comment

by:Modifier1000
ID: 38814996
Thank you!
0
 
LVL 46

Expert Comment

by:tbsgadi
ID: 38815126
Glad to assist
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 38815969
Yep, me too.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
php extract($_REQUEST) 5 46
SQL Help 27 41
SQL Server 2012 r2 - Query results have 2 seperate results instead of 1 2 22
TSQL - How to declare table name 26 29
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

785 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