Home  >  Article  >  Backend Development  >  PHP 5.3.X Connect to MS SQL Server php_mssql.dll_PHP Tutorial

PHP 5.3.X Connect to MS SQL Server php_mssql.dll_PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 10:36:341049browse

I searched online for how to connect PHP 5.3. Driver package,

Method http://pecl.php.net/package/PDO_DBLIB

Solution to using php_dblib.dll of php_mssql in php5.3,

1. Save it to ext in the PHP directory. This extension requires the same .NET Framework 1.1 file permissions as php5ts.dll in the PHP directory. 2. Add extension=php_dblib.dll to the Windows Extensions section of php.ini.


Then download the FreeTDS plug-in 5.3 to access the SQL Server database

php5.2

Thread Safe

http://download.moodle.org/download.php/dblib/php52/DBLIB_TS.zip

NOT Thread Safe

http://download.moodle.org/download.php/dblib/php52/DBLIB_NOTS.zip

php5.3

Thread Safe

http://download.moodle.org/download.php/dblib/php53/DBLIB_TS.zip

NOT Thread Safe

http://download.moodle.org/download.php/dblib/php53/DBLIB_NOTS.zip

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/738526.htmlTechArticleI searched online for how to connect PHP 5.3.X to SQL Server. Someone also encountered this problem. It turns out that the PHP team SQL Server drivers and libraries were removed in PHP 5.3, and Microsoft developed its own...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn