# Nightly: GD is missing

**URL:** <https://travis-ci.community/t/nightly-gd-is-missing/2177>\
**Category:** PHP\
**Created:** [February 7, 2019, 6:35pm UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177 "2019-02-07T18:35:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jnvsor](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/jnvsor/32/1141_2.png) [@jnvsor](https://travis-ci.community/u/jnvsor)\
**Post date:** [February 7, 2019, 6:35pm UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177/1 "2019-02-07T18:35:54Z")

</div>

Nightly hadn’t been updated since december. Now that it has been GD is missing.

Partial diff of `php -i`:

```auto
@@ -254,6 +251,25 @@ ftp
FTP support => enabled
FTPS support => enabled

{+gd+}

{+GD Support => enabled+}
{+GD Version => bundled (2.1.0 compatible)+}
{+FreeType Support => enabled+}
{+FreeType Linkage => with freetype+}
{+FreeType Version => 2.5.2+}
{+GIF Read Support => enabled+}
{+GIF Create Support => enabled+}
{+JPEG Support => enabled+}
{+libJPEG Version => 8+}
{+PNG Support => enabled+}
{+libPNG Version => 1.2.50+}
{+WBMP Support => enabled+}
{+XBM Support => enabled+}

{+Directive => Local Value => Master Value+}
{+gd.jpeg_ignore_warning => 1 => 1+}

gettext

GetText Support => enabled

```

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [February 7, 2019, 6:47pm UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177/2 "2019-02-07T18:47:20Z")

</div>

What’s GD? If it’s an extension, we’ve removed it (along with all others) from the nightly builds. See

> <https://github.com/travis-ci/php-src-builder/pull/28>

---

<div class="post-metadata">

**Author:** ![mlocati](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/mlocati/32/1054_2.png) [@mlocati](https://travis-ci.community/u/mlocati)\
**Post date:** [February 8, 2019, 11:02am UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177/3 "2019-02-08T11:02:13Z")

</div>

GD is a standard PHP extension (see [https://github.com/php/php-src/tree/master/ext/gd](https://github.com/php/php-src/tree/master/ext/gd) ), used to work with images.  
At [https://github.com/travis-ci/php-src-builder/pull/28](https://github.com/travis-ci/php-src-builder/pull/28) we can only see changes for these other extensions: amqp, apcu, memcache, memcached, mongo, mongodb, redis, ssh2, zmq

---

<div class="post-metadata">

**Author:** ![nikic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nikic/32/963_2.png) [@nikic](https://travis-ci.community/u/nikic)\
**Post date:** [February 8, 2019, 11:04am UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177/4 "2019-02-08T11:04:16Z")

</div>

GD is a bundled extension. However in PHP 7.4 many ./configure options have changed due to an (ongoing) migration to pkg-config. A list of all changes is available here: [https://github.com/php/php-src/blob/fa123b51ccd173224fb033ddcf148e8a97138127/UPGRADING#L290](https://github.com/php/php-src/blob/fa123b51ccd173224fb033ddcf148e8a97138127/UPGRADING#L290)

This means that a different configure line will have to be used for PHP 7.4 and master. In this particular case it’s --enable-gd instead of --with-gd, but other changes are probably necessary as well.

---

<div class="post-metadata">

**Author:** ![nikic](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nikic/32/963_2.png) [@nikic](https://travis-ci.community/u/nikic)\
**Post date:** [February 8, 2019, 12:59pm UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177/5 "2019-02-08T12:59:03Z")

</div>

I have submitted a pull request to fix this issue: [https://github.com/travis-ci/php-src-builder/pull/29](https://github.com/travis-ci/php-src-builder/pull/29)

---

<div class="post-metadata">

**Author:** ![Multiconecta](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/multiconecta/32/1069_2.png) [@Multiconecta](https://travis-ci.community/u/Multiconecta)\
**Post date:** [March 15, 2019, 12:15am UTC](https://travis-ci.community/t/nightly-gd-is-missing/2177/6 "2019-03-15T00:15:31Z")

</div>

Sorry for the inconvenience, just to be sure: today is it impossible to test a branch using php-nightly because of the missing --enable-gd in php configure command? I mean, until you figure out how to make php-src-builder work with 7.4, all Travis CI tests with php-nightly will fail? Is it?

Thanks.
