Solved

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

Posted on 2012-03-25
3
816 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
[X]
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
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

726 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