mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
A minor rewrite. The configure path isn't optional, explicitly mention that
ext/mysql is enabled by default, and some grammar. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@128607 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e9af5114d9
commit
0a2dd9382b
1 changed files with 13 additions and 11 deletions
|
@ -1,18 +1,20 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<section id="mysqli.installation">
|
||||
&reftitle.install;
|
||||
<para id="mysqli.configure">
|
||||
To install the mysqli extension for <literal>PHP</literal> use the
|
||||
<option role="configure"> --with-mysqli[=mysql_config path]</option> configuration
|
||||
option (where <literal>mysql_config</literal> represents the location of the
|
||||
<literal>mysql_config</literal> program which comes with MySQL 4.1) and disable
|
||||
the standard mysql extension using the <option>--without-mysql</option>
|
||||
configuration option. If you would like to install the standard mysql extension
|
||||
along with the mysqli extension, the bundled libmysql library cannot be used.
|
||||
Instead, you must use the client libraries installed by MySQL for versions below 4.1.
|
||||
This will force <literal>PHP</literal> to use the client libraries installed by
|
||||
MySQL, avoiding any conflicts.
|
||||
To install the mysqli extension for PHP, use the
|
||||
<option role="configure">--with-mysqli=mysql_config_path</option>
|
||||
configuration option where <literal>mysql_config_path</literal> represents
|
||||
the location of the <literal>mysql_config</literal> program that comes
|
||||
with MySQL versions greater than 4.1. Also, disable the standard
|
||||
<link linkend="ref.mysql">MySQL</link> extension (which is enabled by
|
||||
default) by also using the <option>--without-mysql</option> configuration
|
||||
option. If you would like to install the standard mysql extension along
|
||||
with the mysqli extension, the bundled libmysql library that comes with
|
||||
PHP cannot be used. Instead, use the client libraries installed by MySQL
|
||||
with versions below 4.1. This will force PHP to use the client libraries
|
||||
installed by MySQL thus avoiding any conflicts.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in a new issue