philip Sun Jun 29 13:35:49 2003 EDT
Modified files:
/phpdoc/en/reference/mysql configure.xml
Log:
Mention that MySQL is not bundled or enabled by default with PHP 5, and a little
rewording.
Index: phpdoc/en/reference/mysql/configure.xml
diff -u phpdoc/en/reference/mysql/configure.xml:1.3
phpdoc/en/reference/mysql/configure.xml:1.4
--- phpdoc/en/reference/mysql/configure.xml:1.3 Sun Jun 8 11:07:08 2003
+++ phpdoc/en/reference/mysql/configure.xml Sun Jun 29 13:35:49 2003
@@ -1,27 +1,34 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<section id="mysql.installation">
&reftitle.install;
<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 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.
+ databases.
+ </para>
+ <para>
+ In PHP 4, the option <option role="configure">--with-mysql</option> is
+ enabled by default. To disable this default behavior, you may use the
+ <option role="configure">--without-mysql</option> configure option.
+ Also in PHP 4, if you enable MySQL without specifying the path to the
+ MySQL source DIR, <literal>PHP</literal> will use the bundled MySQL client
+ libraries. In Windows, there is no DLL, it's simply built into PHP 4.
+ Users who run other applications that use MySQL (for example,
+ auth-mysql) should not use the bundled library, but rather specify the
+ path to MySQL's source directory, like so:
+ <option role="configure">--with-mysql=/path/to/mysql</option>.
+ This will force <literal>PHP</literal> to use the client libraries
+ installed by MySQL, thus avoiding any conflicts.
+ </para>
+ <para>
+ As of PHP 5.0.0, MySQL is no longer enabled by default, nor is the MySQL
+ library bundled with PHP.
</para>
<para>
This MySQL extension will not work with MySQL versions greater than
4.1.0. For that, use <link linkend="ref.mysqli">MySQLi</link>.
</para>
- &windows.builtin;
<warning>
<para>
Crashes and startup problems of <literal>PHP</literal> may be encountered
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php