# PHP 8.0 Missing

**URL:** <https://travis-ci.community/t/php-8-0-missing/10132>\
**Category:** PHP\
**Created:** [October 9, 2020, 11:33pm UTC](https://travis-ci.community/t/php-8-0-missing/10132 "2020-10-09T23:33:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrahamCampbell](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/grahamcampbell/32/5299_2.png) [@GrahamCampbell](https://travis-ci.community/u/GrahamCampbell)\
**Post date:** [October 9, 2020, 11:33pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/1 "2020-10-09T23:33:58Z")

</div>

Can 8.0 be added to point to 8.0.0rc1 and 8.1 to point to nightly?

---

<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:** [October 13, 2020, 6:57am UTC](https://travis-ci.community/t/php-8-0-missing/10132/2 "2020-10-13T06:57:01Z")

</div>

FYI, packages for Ubuntu are already available at [https://launchpad.net/~ondrej/+archive/ubuntu/php-qa](https://launchpad.net/~ondrej/+archive/ubuntu/php-qa). As of today no xdebug extension yet.

---

<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:** [October 23, 2020, 7:18pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/3 "2020-10-23T19:18:35Z")

</div>

I’ve managed to build PHP 8.0snapshot binaries for recent Ubuntu releases:

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/travis-ci/php-src-builder/builds/192126693)**

They are available for use now.

Some further tweaking may be necessary.

---

<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:** [October 23, 2020, 7:20pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/4 "2020-10-23T19:20:50Z")

</div>

I don’t think the tooling can cope with versions that can’t be built with [`php-build`](https://github.com/php-build/php-build/tree/master/share/php-build/definitions).

---

<div class="post-metadata">

**Author:** ![ADmad](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/admad/32/5438_2.png) [@ADmad](https://travis-ci.community/u/ADmad)\
**Post date:** [October 30, 2020, 7:27am UTC](https://travis-ci.community/t/php-8-0-missing/10132/5 "2020-10-30T07:27:25Z")

</div>

It seems new snapshots for `8.0snapshot` aren’t being generated. Using `8.0snapshot` on Travis gives `PHP 8.0.0-dev (cli) (built: Oct 23 2020 16:16:10) ( ZTS )` while using `nightly` gives `PHP 8.0.0-dev (cli) (built: Oct 29 2020 12:53:20) ( ZTS )`.

---

<div class="post-metadata">

**Author:** ![voku](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/voku/32/3219_2.png) [@voku](https://travis-ci.community/u/voku)\
**Post date:** [November 3, 2020, 7:04am UTC](https://travis-ci.community/t/php-8-0-missing/10132/6 "2020-11-03T07:04:51Z")

</div>

What is the recommended why to use PHP8 RC via travis-ci? “nightly”, “8.0snapshot”,…? Is there something like “8.0rc3”?

---

<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:** [November 3, 2020, 1:38pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/7 "2020-11-03T13:38:36Z")

</div>

> [@voku](#):
>
> Is there something like “8.0rc3”?

We rely on php-build to compile the binary archive. My understanding is that they have chosen not to support pre-releases. See

> [@PHP 8.0 Missing](https://travis-ci.community/t/php-8-0-missing/10132/4):
>
> I don’t think the tooling can cope with versions that can’t be built with [php-build](https://github.com/php-build/php-build/tree/master/share/php-build/definitions).

---

<div class="post-metadata">

**Author:** ![GrahamCampbell](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/grahamcampbell/32/5299_2.png) [@GrahamCampbell](https://travis-ci.community/u/GrahamCampbell)\
**Post date:** [November 3, 2020, 1:49pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/8 "2020-11-03T13:49:37Z")

</div>

php-build would accept prs to add rc3

---

<div class="post-metadata">

**Author:** ![GrahamCampbell](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/grahamcampbell/32/5299_2.png) [@GrahamCampbell](https://travis-ci.community/u/GrahamCampbell)\
**Post date:** [November 3, 2020, 1:51pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/9 "2020-11-03T13:51:48Z")

</div>

php-build is also looking for funding, if travis would like to help with that.

---

<div class="post-metadata">

**Author:** ![nicwortel](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nicwortel/32/2445_2.png) [@nicwortel](https://travis-ci.community/u/nicwortel)\
**Post date:** [November 29, 2020, 11:48am UTC](https://travis-ci.community/t/php-8-0-missing/10132/10 "2020-11-29T11:48:08Z")

</div>

PHP 8.0 [has been released last Thursday](https://www.php.net/ChangeLog-8.php#PHP_8_0). What is the current status of PHP 8 in Travis CI? [This build](https://travis-ci.org/github/sculpin/sculpin/jobs/746536394), for example, seems to break because PHP 8 is not available.

---

<div class="post-metadata">

**Author:** ![olssonm](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/olssonm/32/5712_2.png) [@olssonm](https://travis-ci.community/u/olssonm)\
**Post date:** [November 29, 2020, 2:30pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/11 "2020-11-29T14:30:42Z")

</div>

Also wondering about PHP 8 support, also getting `The command "phpenv global 8.0" failed and exited with 1 during .` when trying to build with PHP 8.

---

<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:** [November 30, 2020, 5:18pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/12 "2020-11-30T17:18:27Z")

</div>

> [@PHP 8.0 Missing](https://travis-ci.community/t/php-8-0-missing/10132/4):
>
> I don’t think the tooling can cope with versions that can’t be built with [php-build](https://github.com/php-build/php-build/tree/master/share/php-build/definitions).

---

<div class="post-metadata">

**Author:** ![olssonm](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/olssonm/32/5712_2.png) [@olssonm](https://travis-ci.community/u/olssonm)\
**Post date:** [November 30, 2020, 7:23pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/13 "2020-11-30T19:23:01Z")

</div>

Seems like PHP 8 is on the way with php-build: [https://github.com/php-build/php-build/pull/651](https://github.com/php-build/php-build/pull/651)

---

<div class="post-metadata">

**Author:** ![nicwortel](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/nicwortel/32/2445_2.png) [@nicwortel](https://travis-ci.community/u/nicwortel)\
**Post date:** [December 1, 2020, 12:12pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/14 "2020-12-01T12:12:01Z")

</div>

Thank you for your response! I was going to contribute a PHP 8 definition to php-build but I see that it has already been implemented by the PR linked by @olssonm, which was merged just 13 hours ago.

I’m not familiar enough with php-build or with Travis’ tooling, is there anything I can do to help speed things up or is it simply a matter of time now before PHP 8.0 will become available in Travis CI builds?

---

<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 2, 2020, 1:42pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/15 "2020-12-02T13:42:19Z")

</div>

Hmm. The 8.0.0 compilation is failing due to excessive logging, most of it attributed to extensions.

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258)**

- mongo [https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L4085](https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L4085) (This is by far the worst offender, driven by `pecl install mongodb`.)
- amqp [https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L5435](https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L5435) (a lot of warnings building [https://github.com/php-amqp/php-amqp;](https://github.com/php-amqp/php-amqp;) `phpize; ./configure && make && make install`)
- apcu [https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L12231](https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L12231)
- memcached [https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L12791](https://travis-ci.com/github/travis-ci/php-src-builder/jobs/452193258#L12791) (this might be more by libmemcached, actually)

* * *

### For Mongo

> <https://github.com/mongodb/mongo-php-driver/issues/1185>
>
> Bug Report
> We are trying to create a binary archive for PHP 8.0.0 that includes mongo-php-driver.
> The process is basically:
> Compile 8.0.0 from source
> Run...

### For AMQP

> <https://github.com/php-amqp/php-amqp/issues/386>
>
> Hi @lstrojny and others,
> PHP 8.0.0 is getting really close and it looks like this extension supports it already.
> All that's missing is...

  

> <https://github.com/php-amqp/php-amqp/pull/383>

---

<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 2, 2020, 9:59pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/16 "2020-12-02T21:59:02Z")

</div>

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/travis-ci/php-src-builder/builds/206045548)**

  
reduces log levels and succeeds to build the archive.

---

<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, 2020, 2:59pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/17 "2020-12-04T14:59:32Z")

</div>

Sorry, the `-q` flag that I thought would do the trick is not recognized, so acpu and mongodb (maybe others?) were not actually installed on the archive.

I’ve removed it and am now trying it again.

> **[Travis CI - Test and Deploy with Confidence](https://travis-ci.com/github/travis-ci/php-src-builder/builds/206602681)**

---

<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, 2020, 9:11pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/18 "2020-12-04T21:11:26Z")

</div>

I’ve addressed the issues with tooling, and to the best of my knowledge `php: 8.0.0` should work.

**update**

There is an issue with the `8.0` archive, so that will be addressed next week.

---

<div class="post-metadata">

**Author:** ![BenMorel](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/benmorel/32/604_2.png) [@BenMorel](https://travis-ci.community/u/BenMorel)\
**Post date:** [December 5, 2020, 11:49pm UTC](https://travis-ci.community/t/php-8-0-missing/10132/19 "2020-12-05T23:49:00Z")

</div>

I can confirm that 8.0 works today. Thank you!

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [December 6, 2020, 11:41am UTC](https://travis-ci.community/t/php-8-0-missing/10132/20 "2020-12-06T11:41:17Z")

</div>

Split this topic on December 6, 2020, 11:41am UTC

A post was merged into an existing topic: [Xdebug 3 is installed by default? breaking builds](https://travis-ci.community/t/xdebug-3-is-installed-by-default-breaking-builds/10748/6)

[Next page](https://travis-ci.community/t/php-8-0-missing/10132.md?page=2)
