mysqli.configuration.html

来自「php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容」· HTML 代码 · 共 215 行

HTML
215
字号
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Runtime Configuration</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="mysqli.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli.resources.html">Resource Types</a></div> <div class="up"><a href="mysqli.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="mysqli.configuration" class="section"> <h2 class="title">Runtime Configuration</h2> <p class="simpara">The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>.</p> <p class="para">  <table border="5">   <caption><b>MySQLi Configuration Options</b></caption>   <colgroup>    <thead valign="middle">     <tr valign="middle">      <th colspan="1">Name</th>      <th colspan="1">Default</th>      <th colspan="1">Changeable</th>      <th colspan="1">Changelog</th>     </tr>    </thead>    <tbody valign="middle" class="tbody">     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">mysqli.max_links</td>      <td colspan="1" rowspan="1" align="left">&quot;-1&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_SYSTEM</td>      <td colspan="1" rowspan="1" align="left">Available since PHP 5.0.0.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">mysqli.default_port</td>      <td colspan="1" rowspan="1" align="left">&quot;3306&quot;</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">Available since PHP 5.0.0.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">mysqli.default_socket</td>      <td colspan="1" rowspan="1" align="left">NULL</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">Available since PHP 5.0.0.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">mysqli.default_host</td>      <td colspan="1" rowspan="1" align="left">NULL</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">Available since PHP 5.0.0.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">mysqli.default_user</td>      <td colspan="1" rowspan="1" align="left">NULL</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">Available since PHP 5.0.0.</td>     </tr>     <tr valign="middle">      <td colspan="1" rowspan="1" align="left">mysqli.default_pw</td>      <td colspan="1" rowspan="1" align="left">NULL</td>      <td colspan="1" rowspan="1" align="left">PHP_INI_ALL</td>      <td colspan="1" rowspan="1" align="left">Available since PHP 5.0.0.</td>     </tr>    </tbody>   </colgroup>  </table> </p> <p class="para">  For further details and definitions of the above PHP_INI_* constants, see  the chapter on <a href="configuration.changes.html" class="link">configuration  changes</a>. </p> <p class="para">Here&#039;s a short explanation ofthe configuration directives.</p> <p class="para"> <dl>  <dt id="ini.mysqli.max-links">   <span class="term">    <i><tt class="parameter">mysqli.max_links</tt></i>    <a href="language.types.integer.html" class="type integer">integer</a>   </span>   <dd>    <p class="para">     The maximum number of MySQL connections per process.    </p>   </dd>  </dt>   <dt id="ini.mysqli.default-port">   <span class="term">    <i><tt class="parameter">mysqli.default_port</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <p class="para">     The default TCP port number to use when connecting to     the database server if no other port is specified. If     no default is specified, the port will be obtained     from the <i>MYSQL_TCP_PORT</i> environment     variable, the <i>mysql-tcp</i> entry in     <var class="filename">/etc/services</var> or the compile-time     <i>MYSQL_PORT</i> constant, in that order. Win32     will only use the <i>MYSQL_PORT</i> constant.    </p>   </dd>  </dt>    <dt id="ini.mysqli.default-socket">   <span class="term">    <i><tt class="parameter">mysqli.default_socket</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <p class="para">     The default socket name to use when connecting to a local     database server if no other socket name is specified.    </p>   </dd>  </dt>   <dt id="ini.mysqli.default-host">   <span class="term">    <i><tt class="parameter">mysqli.default_host</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <p class="para">     The default server host to use when connecting to the database     server if no other host is specified. Doesn&#039;t apply in     <a href="features.safe-mode.html#ini.safe-mode" class="link">safe mode</a>.    </p>   </dd>  </dt>    <dt id="ini.mysqli.default-user">   <span class="term">    <i><tt class="parameter">mysqli.default_user</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <p class="para">     The default user name to use when connecting to the database     server if no other name is specified. Doesn&#039;t apply in     <a href="features.safe-mode.html#ini.safe-mode" class="link">safe mode</a>.    </p>   </dd>  </dt>    <dt id="ini.mysqli.default-pw">   <span class="term">    <i><tt class="parameter">mysqli.default_pw</tt></i>    <a href="language.types.string.html" class="type string">string</a>   </span>   <dd>    <p class="para">     The default password to use when connecting to the database     server if no other password is specified. Doesn&#039;t apply in     <a href="features.safe-mode.html#ini.safe-mode" class="link">safe mode</a>.    </p>   </dd>  </dt> </dl> </p></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mysqli.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="mysqli.resources.html">Resource Types</a></div> <div class="up"><a href="mysqli.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?