mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-28 14:58:55 +00:00

configure.xml files added, linking from refernce.xml files git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@106277 c90b9560-bf6c-de11-be94-00142212c4b1
123 lines
3.4 KiB
XML
123 lines
3.4 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.1 $ -->
|
|
<section id="image.installation">
|
|
&reftitle.install;
|
|
<para>
|
|
To enable GD-support configure PHP
|
|
<option role="configure">--with-gd[=DIR]</option>, where DIR is the GD base
|
|
install directory. To use the recommended bundled version of the GD library
|
|
configure <option role="configure">--with-gd</option>.
|
|
</para>
|
|
<para>
|
|
Enhance the capabilities of GD to handle more image formats by specifying
|
|
the <literal>--with-XXXX</literal> configure switch to your PHP configure
|
|
line.
|
|
<table>
|
|
<title>Supported image formats</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Image Format</entry>
|
|
<entry>Configure Switch</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>jpeg-6b</literal></entry>
|
|
<entry>
|
|
To enable support for jpeg-6b add
|
|
<option role="configure">--with-jpeg-dir=DIR</option>.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>png</literal></entry>
|
|
<entry>
|
|
To enable support for png add
|
|
<option role="configure">--with-png-dir=DIR</option>. Note, libpng
|
|
requires the <link linkend="zlib.requirements">zlib library</link>,
|
|
therefore add <option role="configure">--with-zlib-dir[=DIR]</option>
|
|
to your configure line.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>xpm</literal></entry>
|
|
<entry>
|
|
To enable support for xpm add
|
|
<option role="configure">--with-xpm-dir=DIR</option>. If configure
|
|
is not able to find the required libraries, you may add the path to
|
|
your X11 libraries.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
<para>
|
|
Enhance the capabilities of GD to deal with different fonts by specifying
|
|
the <literal>--with-XXXX</literal> configure switch to your PHP configure
|
|
line.
|
|
<table>
|
|
<title>Supported font libraries</title>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>Font library</entry>
|
|
<entry>Configure Switch</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry><literal>FreeType 1.x</literal></entry>
|
|
<entry>
|
|
To enable support for FreeType 1.x add
|
|
<option role="configure">--with-ttf[=DIR]</option>.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>FreeType 2</literal></entry>
|
|
<entry>
|
|
To enable support for FreeType 2 add
|
|
<option role="configure">--with-freetype-dir=DIR</option>.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>T1lib</literal></entry>
|
|
<entry>
|
|
To enable support for T1lib (Type 1 fonts) add
|
|
<option role="configure">--with-t1lib[=DIR]</option>.
|
|
</entry>
|
|
</row>
|
|
<row>
|
|
<entry><literal>Native TrueType string function</literal></entry>
|
|
<entry>
|
|
To enable support for native TrueType string function add
|
|
<option role="configure">--enable-gd-native-ttf</option>.
|
|
</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</table>
|
|
</para>
|
|
</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
|
|
-->
|