mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-26 05:48:57 +00:00

libmysql supports charsets other than latin. This also documents bug #23885 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@130623 c90b9560-bf6c-de11-be94-00142212c4b1
62 lines
2.1 KiB
XML
62 lines
2.1 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<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.
|
|
</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
|
|
when loading this extension in conjunction with the recode extension.
|
|
See the <link linkend="ref.recode">recode</link> extension for more
|
|
information.
|
|
</para>
|
|
</warning>
|
|
<note>
|
|
<para>
|
|
If you need charsets other than <emphasis>latin</emphasis> (default), you
|
|
have to install external (not bundled) libmysql with compiled charset
|
|
support.
|
|
</para>
|
|
</note>
|
|
</section>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|
|
|