# Travis can't install PHP 8.3

**URL:** <https://travis-ci.community/t/travis-cant-install-php-8-3/14437>\
**Category:** Deployment\
**Created:** [October 30, 2024, 12:31pm UTC](https://travis-ci.community/t/travis-cant-install-php-8-3/14437 "2024-10-30T12:31:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rom-melnik](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rom-melnik/32/6946_2.png) [@rom-melnik](https://travis-ci.community/u/rom-melnik)\
**Post date:** [October 30, 2024, 12:31pm UTC](https://travis-ci.community/t/travis-cant-install-php-8-3/14437/1 "2024-10-30T12:31:03Z")

</div>

I’m using this .travis.yml configuration:

```auto
os: linux
dist: focal
language: php
php: '8.3'

```

and I received the error:

```auto
$ phpenv global 8.3 2>/dev/null
8.3 is not pre-installed; installing
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/14.04/x86_64/php-8.3.tar.bz2
$ curl -sSf --retry 5 -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
curl: (22) The requested URL returned error: 404 Not Found
$ phpenv global 8.3
rbenv: version `8.3' not installed
The command "phpenv global 8.3" failed and exited with 1 during .

```

---

<div class="post-metadata">

**Author:** ![PaoloYam](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/paoloyam/32/9371_2.png) [@PaoloYam](https://travis-ci.community/u/PaoloYam)\
**Post date:** [October 30, 2024, 12:50pm UTC](https://travis-ci.community/t/travis-cant-install-php-8-3/14437/2 "2024-10-30T12:50:45Z")

</div>

> **[Travis CI Documentation](https://docs.travis-ci.com/user/reference/linux/#overview)**
>
> The Ubuntu Linux Build Environments

ubuntu 14.04 looks deprecated now

---

<div class="post-metadata">

**Author:** ![rom-melnik](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/rom-melnik/32/6946_2.png) [@rom-melnik](https://travis-ci.community/u/rom-melnik)\
**Post date:** [October 30, 2024, 1:11pm UTC](https://travis-ci.community/t/travis-cant-install-php-8-3/14437/3 "2024-10-30T13:11:35Z")

</div>

I’m using Focal distr in my .travis.yml, but Travis tries to load Ubuntu 14.04 (instead of 20.04).
