mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Document GD installation changes in PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350282 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3211df4680
commit
087a636933
1 changed files with 17 additions and 2 deletions
|
@ -10,12 +10,17 @@
|
|||
<option role="configure">--with-gd</option>.
|
||||
GD library requires <productname>libpng</productname> and
|
||||
<productname>libjpeg</productname> to compile.
|
||||
As of PHP 7.4.0, <option role="configure">--with-gd</option> becomes
|
||||
<option role="configure">--enable-gd</option> (whether to enable the
|
||||
extension at all) and <option role="configure">--with-external-gd</option>
|
||||
(to opt into using an external <productname>libgd</productname>, rather than
|
||||
the bundled one).
|
||||
</para>
|
||||
<para>
|
||||
In Windows, you'll include the GD2 DLL <filename>php_gd2.dll</filename> as
|
||||
an extension in &php.ini;.
|
||||
</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
|
||||
|
@ -36,6 +41,8 @@
|
|||
To enable support for jpeg add
|
||||
<option role="configure">--with-jpeg-dir=DIR</option>. Jpeg 6b, 7 or 8
|
||||
are supported.
|
||||
As of PHP 7.4.0, use <option role="configure">--with-jpeg</option>
|
||||
instead.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
@ -46,6 +53,10 @@
|
|||
requires the <link linkend="zlib.requirements">zlib library</link>,
|
||||
therefore add <option role="configure">--with-zlib-dir[=DIR]</option>
|
||||
to your configure line.
|
||||
As of PHP 7.4.0, <option role="configure">--with-png-dir</option> and
|
||||
<option role="configure">--with-zlib-dir</option> have been removed.
|
||||
<productname>libpng</productname> and <productname>zlib</productname>
|
||||
are required.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
@ -55,6 +66,8 @@
|
|||
<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.
|
||||
As of PHP 7.4.0, use <option role="configure">--with-xpm</option>
|
||||
instead.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
|
@ -65,6 +78,8 @@
|
|||
5.4.0.
|
||||
As of PHP 7.0.0 <option role="configure">--with-webp-dir=DIR</option> has
|
||||
to be added, i.e. support for libvpx has been removed in favor of libwebp.
|
||||
As of PHP 7.4.0, use <option role="configure">--with-webp</option>
|
||||
instead.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
@ -104,7 +119,7 @@
|
|||
<entry><literal>T1lib</literal></entry>
|
||||
<entry>
|
||||
To enable support for T1lib (Postscript Type 1 fonts) add
|
||||
<option role="configure">--with-t1lib[=DIR]</option> (Removed
|
||||
<option role="configure">--with-t1lib[=DIR]</option> (Removed
|
||||
as of PHP 7.0.0).
|
||||
</entry>
|
||||
</row>
|
||||
|
|
Loading…
Reference in a new issue