notbugIf you buy from Amazon USA, please support us by using this link.
Port details
php72-gd The gd shared extension for php
7.2.14_1 graphics on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: search for ports maintained by this maintainer
Port Added: 2017-11-16 10:49:07
Last Update: 2018-08-18 16:32:17
SVN Revision: 477510
License: PHP301
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
Source general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML.  Its syntax draws upon C,
Java, and Perl, and is easy to learn.  The main goal of the language is to
allow web developers to write dynamically generated webpages quickly, but
you can do much more with PHP.

SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (3 items)
  1. /usr/local/share/licenses/php72-gd-7.2.14_1/
  2. /usr/local/share/licenses/php72-gd-7.2.14_1/LICENSE
  3. /usr/local/share/licenses/php72-gd-7.2.14_1/PHP301
  4. Collapse this list.

Dependency line: php72-gd>0:graphics/php72-gd

To install the port: cd /usr/ports/graphics/php72-gd/ && make install clean
To add the package: pkg install php72-gd

PKGNAME: php72-gd

There is no flavor information for this port.


TIMESTAMP = 1547458313
SHA256 (php-7.2.14.tar.xz) = ee3f1cc102b073578a3c53ba4420a76da3d9f0c981c02b1664ae741ca65af84f
SIZE (php-7.2.14.tar.xz) = 12156460

Master port: lang/php72

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. phpize : lang/php72
  2. autoconf>0 : devel/autoconf
  3. xpm.pc : x11/libXpm
Runtime dependencies:
  1. php.h : lang/php72
  2. xpm.pc : x11/libXpm
Library dependencies:
  1. : print/freetype2
  2. : graphics/png
  3. : graphics/jpeg-turbo
  4. : graphics/gd

This port is required by:

for Build for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
Configuration Options
===> The following configuration options are available for php72-gd-7.2.14_1:
     TRUETYPE=on: Enable TrueType string function
     JIS=off: Enable JIS-mapped Japanese font support
     WEBP=off: Enable WebP image format support
     X11=on: Enable XPM support
===> Use 'make config' to modify these settings

tar:xz cpe php:ext,noflavors jpeg

Master Sites:
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2018-03-08
    Affects: */php* */pecl* */pear*
      PHP extensions and modules have been flavored.
      People using Poudriere 3.2+ and binary packages do not have to do anything if
      they are using PHP applications.
      PHP modules and extensions may have change their names from php5- or php7- to
      fully versionned phpXY-.
      PECL extensions and PEAR modules package names have changed from pecl- and
      pear- to phpXX-pecl and phpXX-pear-.
      To rename an installed package to match the new naming scheme, for example,
      for the imagick pecl extension, run:
        # pkg set -n pecl-imagick:php56-pecl-imagick
      For other people, to build the PHP 7.2 version of, for example,
      databases/php-memcached, you need to run:
        # make FLAVOR=php72 install
Port Moves
  • port moved here from graphics/php56-gd on 2019-01-01
    REASON: Has expired: Security Support ends on 31 Dec 2018

  • port moved here from graphics/php70-gd on 2018-12-05
    REASON: Has expired: Security Support ends on 3 Dec 2018

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
This is a slave port. You may also want to view the commits to the master port: lang/php72
18 Aug 2018 15:32:17
Original commit files touched by this commit  7.2.9
joneum search for other commits by this committer
Update to 7.2.9


MFH:		2018Q3
31 Jul 2018 12:55:43
Original commit files touched by this commit  7.2.8_1
tz search for other commits by this committer
graphics/php7*-gd: fix broken build when XPM option is disabled

The switch from bundled gd to graphics/gd broke the port
if a user disabled the XPM option.

PR:		230234 217222
Submitted by:	Guido Falsi <>
Reported by:	Guido Falsi <>,  Dani <>
31 Jul 2018 08:47:33
Original commit files touched by this commit  7.2.8_1
tz search for other commits by this committer
graphics/php72-gd: Switch from bundled libgd to graphics/gd

Currently the gd-module uses a bundled libgd, while most systems
already provide the same library via graphics/gd.
Therefore instead of adding the bundled library we use the
port instead.

PR:		217222
Submitted by:	Mikhail Teterin  <>
24 Jul 2018 08:44:32
Original commit files touched by this commit  7.2.8
tz search for other commits by this committer
PHP 7.1 and PHP 7.2: add TEST_TARGET to all extensions

This enables "make test" in every extension and eases
the test of changes to PHP.

I did ignore PHP 7.0 intentionally since it only receives
security updates and will EOL at the end of the year. Therefore
no great amount of work is expected for 7.0.
16 Nov 2017 17:12:25
Original commit files touched by this commit  7.2.0.r6
tz search for other commits by this committer
PHP 7.2: Remove bad repocopies.

Reported by: adamw
16 Nov 2017 10:48:48
Original commit files touched by this commit  7.2.0.r6
tz search for other commits by this committer
Add PHP 7.2 RC6

Notable changes:
- mcrypt module was removed
- sodium module was added
- sybase_ct artifacts removed

Also many PECL ports will not work with this version
since some files got renamed.

Reviewed by:           mat, ale, Rainer Duffner <>
Differential Revision:

Number of commits found: 6

User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
How big is it?
The latest upgrade!

Enter Keywords:

Latest Vulnerabilities
joomla3Jan 20
drupal7Jan 19
drupal8Jan 19
helmJan 18
gitlab-ceJan 17
jenkinsJan 16
jenkins-ltsJan 16
py-matrix-synapseJan 15
irssiJan 10
giteaJan 06
uriparserJan 06
chromiumJan 05
chromiumJan 05
openjpeg*Jan 05
py-django111Jan 05

9 vulnerabilities affecting 54 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2019-01-20 01:05:52

Deleted ports
Sanity Test Failures

NEW Graphs (Javascript)

Calculated hourly:
Port count 36015
Broken 120
Deprecated 412
Ignore 333
Forbidden 3
Restricted 162
Vulnerable 34
Expired 5
Set to expire 385
Interactive 0
new 24 hours 4
new 48 hours10
new 7 days45
new fortnight75
new month159

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2019 Dan Langille. All rights reserved.