# PHP 7.4 release

**URL:** <https://travis-ci.community/t/php-7-4-release/6197>\
**Category:** PHP\
**Created:** [November 29, 2019, 10:31am UTC](https://travis-ci.community/t/php-7-4-release/6197 "2019-11-29T10:31:40Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![samdark](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/samdark/32/2309_2.png) [@samdark](https://travis-ci.community/u/samdark)\
**Post date:** [November 29, 2019, 10:31am UTC](https://travis-ci.community/t/php-7-4-release/6197/1 "2019-11-29T10:31:40Z")

</div>

Hello, Travis team. [PHP 7.4 was released](https://www.php.net/releases/7_4_0.php) and it would be awesome to have it in the versions available.

Thanks!

---

<div class="post-metadata">

**Author:** ![ctrlaltca](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/ctrlaltca/32/3324_2.png) [@ctrlaltca](https://travis-ci.community/u/ctrlaltca)\
**Post date:** [December 4, 2019, 9:24am UTC](https://travis-ci.community/t/php-7-4-release/6197/2 "2019-12-04T09:24:43Z")

</div>

Hello, I’d like to see PHP 7.4 support on Travis, too.  
Thank you!

---

<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:** [December 4, 2019, 1:21pm UTC](https://travis-ci.community/t/php-7-4-release/6197/3 "2019-12-04T13:21:04Z")

</div>

At the moment, we are unable to offer 7.4.0 because the utility we use to compile PHP is not yet updated for it. They are having difficulties, and I’m sure they would appreciate your help.

See, for example:

> <https://github.com/php-build/php-build/pull/597>

  

> <https://github.com/php-build/php-build/pull/598>

---

<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:** [December 4, 2019, 1:31pm UTC](https://travis-ci.community/t/php-7-4-release/6197/4 "2019-12-04T13:31:18Z")

</div>

Actually, looks like we have a working PHP 7.4 on Xenial and Bionic. Please test it.

---

<div class="post-metadata">

**Author:** ![samdark](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/samdark/32/2309_2.png) [@samdark](https://travis-ci.community/u/samdark)\
**Post date:** [December 4, 2019, 3:01pm UTC](https://travis-ci.community/t/php-7-4-release/6197/5 "2019-12-04T15:01:13Z")

</div>

Works on Xenial.

@BanzaiMan is there a plan to have it on Trusty?

---

<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:** [December 4, 2019, 4:08pm UTC](https://travis-ci.community/t/php-7-4-release/6197/6 "2019-12-04T16:08:33Z")

</div>

You can try the result of [https://travis-ci.com/travis-ci/php-src-builder/jobs/263090083](https://travis-ci.com/travis-ci/php-src-builder/jobs/263090083) in a day’s time.

---

<div class="post-metadata">

**Author:** ![samdark](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/samdark/32/2309_2.png) [@samdark](https://travis-ci.community/u/samdark)\
**Post date:** [December 4, 2019, 11:19pm UTC](https://travis-ci.community/t/php-7-4-release/6197/8 "2019-12-04T23:19:00Z")

</div>

Trusty works well. Thanks!

---

<div class="post-metadata">

**Author:** ![alecpl](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/alecpl/32/3332_2.png) [@alecpl](https://travis-ci.community/u/alecpl)\
**Post date:** [December 5, 2019, 7:45am UTC](https://travis-ci.community/t/php-7-4-release/6197/9 "2019-12-05T07:45:26Z")

</div>

It does not work if you require php-gd.

---

<div class="post-metadata">

**Author:** ![snapshotpl](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/snapshotpl/32/3298_2.png) [@snapshotpl](https://travis-ci.community/u/snapshotpl)\
**Post date:** [December 5, 2019, 9:36am UTC](https://travis-ci.community/t/php-7-4-release/6197/10 "2019-12-05T09:36:46Z")

</div>

There is also missing `ext-json`: `The requested PHP extension ext-json ^1.5 has the wrong version (7.4.0) installed. Install or enable PHP's json extension.`

---

<div class="post-metadata">

**Author:** ![AlessandroLai](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/alessandrolai/32/2818_2.png) [@AlessandroLai](https://travis-ci.community/u/AlessandroLai)\
**Post date:** [December 5, 2019, 10:00am UTC](https://travis-ci.community/t/php-7-4-release/6197/11 "2019-12-05T10:00:51Z")

</div>

Your `composer.json` is complaining, the extension is there, only with a different numeric version.

---

<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:** [December 6, 2019, 4:12pm UTC](https://travis-ci.community/t/php-7-4-release/6197/12 "2019-12-06T16:12:03Z")

</div>

for missing extensions, please use

> [@Some extensions are missing in PHP 7.4.0: zip, gmp, sodium](https://travis-ci.community/t/some-extensions-are-missing-in-php-7-4-0-zip-gmp-sodium/6320):
>
> Hello, My tests are failing in 7.4 right now because [php’s zip extension](https://www.php.net/manual/en/book.zip.php) isn’t available. I tried following the instructions for “Enabling preinstalled PHP extensions” but got this: PHP Warning: PHP Startup: Unable to load dynamic library ‘zip.so’ (tried: /home/travis/.phpenv/versions/7.4.0/lib/php/extensions/no-debug-zts-20190902/zip.so (/home/travis/.phpenv/versions/7.4.0/lib/php/extensions/no-debug-zts-20190902/zip.so: cannot open shared object file: No such file or directory), /home/tra…

---

<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:** [December 9, 2019, 4:34pm UTC](https://travis-ci.community/t/php-7-4-release/6197/13 "2019-12-09T16:34:58Z")

</div>

Tried Trusty again, but it’s no longer working. :-/

[https://travis-ci.com/travis-ci/php-src-builder/jobs/265210864](https://travis-ci.com/travis-ci/php-src-builder/jobs/265210864)

---

<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:** [December 9, 2019, 8:29pm UTC](https://travis-ci.community/t/php-7-4-release/6197/14 "2019-12-09T20:29:39Z")

</div>

[https://travis-ci.com/travis-ci/php-src-builder/jobs/265333511#L3968](https://travis-ci.com/travis-ci/php-src-builder/jobs/265333511#L3968)

Any input on fixing this is welcome.

---

<div class="post-metadata">

**Author:** ![ruudboon](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/ruudboon/32/3362_2.png) [@ruudboon](https://travis-ci.community/u/ruudboon)\
**Post date:** [December 9, 2019, 8:44pm UTC](https://travis-ci.community/t/php-7-4-release/6197/15 "2019-12-09T20:44:58Z")

</div>

My pull has just been merged. Some issues on Mac are still occurring but it’s building on linux.

> <https://github.com/php-build/php-build/pull/599>
