468,307 Members | 1,324 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,307 developers. It's quick & easy.

Connecting EasyPHP to SQL Server 2008 R2 Windows 7

1
Trying to setup my laptop as a development base for PHP.

Details are as follows:

Windows7 x64 SP1, SQL Server 2008 R2, (EasyPHP instalation) PHP 5.4.6, Apache 2.4.2

SQL Server is running fine as can read data using C# (in Visual Studio)

PHP is running as can read data from the mysql db that comes with it.

PHP Extension Build API20100525,TS,VC9

Recently installed SQL Server Drivers 3.0 to link to SQL server.

Now when I use sqlsrv_connect() or PDO('sqlsrv: etc') in PHP I get the following error message:

This extension requires the Microsoft SQL Server 2012 Native Client ODBC
Driver to communicate with SQL Server. Access the following URL to
download the Microsoft SQL Server 2012 Native Client ODBC driver for
x86: http://go.microsoft.com/fwlink/?LinkId=1637121

So I have downloaded Microsoft® SQL Server® 2012 Native Client from:

http://www.microsoft.com/en-gb/download/details.aspx?id=29065

To be specific: X64 Package (sqlncli.msi)

Running the install I get the message:

"There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run"

Any help would be appreciated.
Jan 20 '13 #1
0 2006

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

10 posts views Thread by MVChauhan | last post: by
3 posts views Thread by =?Utf-8?B?T2xpdmllciBNQVRST1Q=?= | last post: by
1 post views Thread by =?Utf-8?B?bWFzYWtpeQ==?= | last post: by
1 post views Thread by =?Utf-8?B?QW50amU=?= | last post: by
2 posts views Thread by =?Utf-8?B?SmVycnkgQw==?= | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.