Compiling from source, adding latest libgd source
| From: | Pete Cooper | Date: | Wed, 16 Dec 2020 12:30:22 +0000 |
| Subject: | Compiling from source, adding latest libgd source | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-327386@lists.php.net to get a copy of this message | ||
Hello.
I am compiling PHP 8.0,1RC1 from source on Ubuntu 20.04LTS. I would like to be able to use the
current version of libgd (v2.3.0) instead of the bundled version (v2.1.0 compatible) or the
system-installed version (v2.2.5). Is this possible?
If I use the
--enable-gd flag, PHP 8.0.1RC1 uses the bundled libgd (expected).
If I also use the --with-external-gd flag, PHP 8.0.1RC1 uses the system-wide libgd
(expected).
Is there a way I can compile PHP with the libgd source, or alternatively point the PHP configure /
compile process to point to a pre-compiled version of libgd specifically for PHP (e.g. if I compile
libgd source to /etc/php/shared/libgd/).
Thank you for any insight or feedback.
Best wishes,
Pete
--
Pete Cooper
pete@pragmatika.net
https://pragmatika.net
Please note: my working hours may not be your working hours. Please do not feel obligated to reply
outside of your normal work schedule.