PHP PHP 5.3x mssql연동 ( php_mssql.dll )
페이지 정보
본문
PHP 5.2.11 이후 5.3.x에서는 더이상 php_mssql.dll을 지원하지 않습니다.
php에서 mssql을 이용하기 위해서는 The Microsoft Drivers for PHP for SQL Server Team에서 만든 php_sqlsrv.dll 를 사용합니다.
Microsoft SQL Server Driver for PHP 1.0
The SQL Server Driver for PHP 1.0 is a PHP 5 extension that allows for accessing data in all Editions of SQL Server 2005 and SQL Server 2008 (including Express Editions) from within PHP scripts. The driver provides a procedural interface for accessing data and makes use of PHP features, including PHP streams to read and write large objects. With this release, the source code for the driver is available here: http://go.microsoft.com/fwlink/?LinkID=123842&clcid=0x409
다운로드 : http://go.microsoft.com/fwlink/?LinkID=123470
자세한 사용법은 아래 참고
Loading the Driver at PHP Startup
To load the SQL Server Driver for PHP when PHP is started:
Put the php_sqlsrv_ts.dll file or the php_sqlsrv.dll file (the non-thread-safe version of the driver) in the PHP extension directory.
Modify the PHP configuration file (php.ini) by adding the following line to the extension section:
extension=php_sqlsrv_53_nts_vc9.dll
extension=php_pdo_sqlsrv_53_nts_vc9.dll
Restart the Web server.
참고사이트
http://www.microsoft.com/download/en/details.aspx?displaylang=en+&id=3522
http://www.apphp.net/forum/viewtopic.php?f=24&t=2419
http://macaman2.tistory.com/5
http://jjong.co.kr/29
댓글목록
등록된 댓글이 없습니다.