Страница 1 из 1

PHP + MS SQL Server

Добавлено: 29 июл 2013, 17:19
AKR
В сборке 4.8.7 почемуто php_pdo_mssql.dll есть только в PHP-5.2.17, а для остальных PHP-5.3.26, и PHP-5.4.16, PHP-5.5.0(Win7+) отсутствует.

Было бы не плохо чтобы было.

Добавлено: 30 июл 2013, 12:43
Asmodey
Он стал другой. http://www.php.net/manual/en/ref.pdo-sqlsrv.php
И делает его лично БГ :) Зависит от версии оси и скл-клиента. Ставить ручками.

Добавлено: 05 авг 2013, 12:49
AKR
Почему же для каждой?

Microsoft Drivers 3.0 for PHP for SQL Server
http://www.microsoft.com/en-us/download ... x?id=20098
The Microsoft Drivers 3.0 for PHP for SQL Server provide connectivity to Microsoft SQL Server from PHP applications.

Details
Note: There are multiple files available for this download. Once you click on the “Download” button, you will be prompted to select the files you need. Version: Date Published:

3.0.1 10/3/2012
File name: File size:
SQLSRV20.EXE 790 KB
SQLSRV30.EXE 833 KB

The Microsoft Drivers 3.0 for PHP for SQL Server are PHP 5 extensions that allows for the reading and writing of SQL Server data from within PHP scripts. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PDO for accessing data in all editions of SQL Server 2005 and later.

The major improvement in the version 3.0 elease is support for SQL Server 2012; features including: LocalDB and AlwaysOn. Additionally, support for Buffered Queries was added. This release is available to all SQL Server users at no additional charge.
Добавлено спустя 4 минуты 26 секунд:
Единственное что нужно выбрать из того что в инсталле SQLSRV30.EXE, правильный для сборки, в зависимости оттого какой там PHP.

Распаковал его, а там:
File name                       Size              
----------------------------    ---------------   
php_pdo_sqlsrv_53_nts.dll               183,960   
php_pdo_sqlsrv_53_ts.dll                186,520   
php_pdo_sqlsrv_54_nts.dll               183,960   
php_pdo_sqlsrv_54_ts.dll                186,520   
php_sqlsrv_53_nts.dll                   200,856   
php_sqlsrv_53_ts.dll                    204,952   
php_sqlsrv_54_nts.dll                   200,856   
php_sqlsrv_54_ts.dll                    204,952   
SQLSRV_Help.chm                         420,723   
SQLSRV_License.rtf                      170,891   
SQLSRV_Readme.htm                        11,816   
SQLSRV_ThirdPartyNotices.rtf             53,934   

total files 12    total size       2,209,940

Добавлено: 07 авг 2013, 12:00
Asmodey
...version 3.0 elease is support for SQL Server 2012...
Отсюда смотреть требования к клиенту, оси, нету и т.д. сравнивать с 2.