mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Clarify --with-mysql's default behavior and mention --without-mysql. Also
make this para id='mysql.configure' for internal linking. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@125275 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
64d64f38b5
commit
a0e0915813
1 changed files with 10 additions and 8 deletions
|
@ -1,17 +1,19 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<section id="mysql.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
<para id="mysql.configure">
|
||||
By using the <option role="configure">--with-mysql[=DIR]</option>
|
||||
configuration option you enable <literal>PHP</literal> to access MySQL
|
||||
databases. If you use this option without specifying the path to MySQL,
|
||||
<literal>PHP</literal> will use the built-in MySQL client libraries. With
|
||||
PHP 4 MySQL support is always enabled; if you don't specify the configure
|
||||
option, the bundled libraries are used. Users who run other applications
|
||||
that use MySQL (for example, running PHP 3 and PHP 4 as concurrent apache
|
||||
modules, or auth-mysql) should always specify the path to MySQL:
|
||||
<option role="configure">--with-mysql=/path/to/mysql</option>.
|
||||
<literal>PHP</literal> will use the bundled MySQL client libraries.
|
||||
As of PHP 4, <option role="configure">--with-mysql</option> is enabled
|
||||
by default so to disable MySQL support you must use
|
||||
<option role="configure">--without-mysql</option>. Users who run other
|
||||
applications that use MySQL (for example, running PHP 3 and PHP 4 as
|
||||
concurrent apache modules, or auth-mysql) should always specify the path
|
||||
to the MySQL <literal>DIR</literal>:
|
||||
<option role="configure">--with-mysql=/path/to/mysql</option>.
|
||||
This will force <literal>PHP</literal> to use the client libraries installed
|
||||
by MySQL, avoiding any conflicts.
|
||||
</para>
|
||||
|
|
Loading…
Reference in a new issue