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.co m/fwlink/?LinkId=1637121
So I have downloaded Microsoft® SQL Server® 2012 Native Client from:
http://www.microsoft.c om/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.
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.co m/fwlink/?LinkId=1637121
So I have downloaded Microsoft® SQL Server® 2012 Native Client from:
http://www.microsoft.c om/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.