Solved

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

Posted on 2012-03-25
3
785 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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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 …

867 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

15 Experts available now in Live!

Get 1:1 Help Now