Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Not able to Load Microsoft Drivers for PHP 5.3 for SQL Server

Posted on 2012-03-25
3
801 Views
Last Modified: 2012-08-14
Hi,

I have problem that I haven't encountered before. I have been trying to load the moduals / dlls for MS SQL Server php_sqlsrv_53_ts.dll and php_pdo_sqlsrv_53_ts.dll to PHP 5.3.10.

The issue, is that when I add them to php.ini and run phpinfo() they are not loaded. Apache runs fine with no errors. Usually if you load the wrong dlls the Apache will not start.

Server / Software Details
----------------------------------------
Windows Server 2008 R2
Apache 2.2
PHP 5.3.10 (thread safe)
MS SQL 2008 Standard
Modual trying to load php_sqlsrv_53_ts.dll and php_pdo_sqlsrv_53_ts.dll

Grateful for any help on this.
0
Comment
Question by:andybrooke
3 Comments
 
LVL 9

Accepted Solution

by:
Shaun McNicholas earned 500 total points
ID: 37763034
Check the permissions on those all files and make sure the service running apache and the php service are able to execute the dlls.... your system might be unable to execute them but they exist so it isn't causing anything to stop.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37763161
Did you also install the SQL Native Client?  It is required to use those drivers.  See the SQL Server 2012 Feature Pack link on  http://www.microsoft.com/download/en/details.aspx?id=20098
0
 
LVL 14

Expert Comment

by:Scott Madeira
ID: 37765516
I'll go with the obvious first step that I forget to do at times...  Did you stop and restart Apache after making the php.ini changes?
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

856 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