?? mssql.setup.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <title>Installing/Configuring</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="intro.mssql.html">Introduction</a></div> <div class="next" style="text-align: right; float: right;"><a href="mssql.installation.html">Installation</a></div> <div class="up"><a href="book.mssql.html">Mssql</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div> <h1>Installing/Configuring</h1><h2>Table of Contents</h2><ul class="chunklist chunklist_chapter"><li><a href="mssql.installation.html">Installation</a></li><li><a href="mssql.configuration.html">Runtime Configuration</a></li><li><a href="mssql.resources.html">Resource Types</a></li></ul> <div id="mssql.requirements" class="section"> <h2 class="title">Requirements</h2> <p class="para"> Requirements for Win32 platforms. </p> <p class="para"> The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying <var class="filename">ntwdblib.dll</var> from <var class="filename">\winnt\system32</var> on the server to <var class="filename">\winnt\system32</var> on the PHP box. Copying <var class="filename">ntwdblib.dll</var> will only provide access through named pipes. Configuration of the client will require installation of all the tools. </p> <p class="para"> Requirements for Unix/Linux platforms. </p> <p class="para"> To use the MSSQL extension on Unix/Linux, you first need to build and install the FreeTDS library. Source code and installation instructions are available at the FreeTDS home page: <a href="http://www.freetds.org/" class="link external">» http://www.freetds.org/</a> </p> <blockquote><p><b class="note">Note</b>: On Windows, the DBLIB from Microsoft is used. Functions that return a column name are based on the <i>dbcolname()</i> function in DBLIB. DBLIB was developed for SQL Server 6.x where the max identifier length is 30. For this reason, the maximum column length is 30 characters. On platforms where FreeTDS is used (Linux), this is not a problem. <br /> </p></blockquote> <blockquote><p><b class="note">Note</b>: On Windows, if you're using MSSQL 2005 or greater you must copy the <i>ntwdblib.dll</i> into the directory where you have installed php and overwrite the one thats already in there. This is due to the version distributed is old and outdated. Alternatively you can use the <a href="book.uodbc.html" class="link">ODBC</a>, <a href="ref.pdo-dblib.html" class="link">PDO_DBLIB</a> or <a href="ref.pdo-odbc.html" class="link">PDO_ODBC</a> extensions, to talk to MSSQL. <br /> </p></blockquote> </div> </div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="intro.mssql.html">Introduction</a></div> <div class="next" style="text-align: right; float: right;"><a href="mssql.installation.html">Installation</a></div> <div class="up"><a href="book.mssql.html">Mssql</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -