# PHP

**URL:** https://travis-ci.community/c/languages/php/27.md

[Latest](https://travis-ci.community/latest.md) · [Categories](https://travis-ci.community/categories.md) · [Tags](https://travis-ci.community/tags.md)

---

## [About the PHP category](https://travis-ci.community/t/about-the-php-category/315)

<div class="topic-metadata">

**Author:** [@kris](https://travis-ci.community/u/kris)\
**Replies:** 0

</div>

Any discussions about PHP goes here!

---

## [Support for PHP 8.3.4?](https://travis-ci.community/t/support-for-php-8-3-4/14224)

<div class="topic-metadata">

**Author:** [@agentmarine](https://travis-ci.community/u/agentmarine)\
**Replies:** 2\
**Last updated:** [May 6, 2024, 2:52pm UTC](https://travis-ci.community/t/support-for-php-8-3-4/14224 "2024-05-06T14:52:30Z")

</div>

Hi team, just wondering if there will soon be support for 8.3.4 Natively we can build at 8.3.4, but not 8.3.2 which the current version of jammy supports? Thanks!

---

## [Running PHP in Docker containers prevents process spawning](https://travis-ci.community/t/running-php-in-docker-containers-prevents-process-spawning/14163)

<div class="topic-metadata">

**Author:** [@chiborg](https://travis-ci.community/u/chiborg)\
**Replies:** 1\
**Last updated:** [February 7, 2024, 11:13am UTC](https://travis-ci.community/t/running-php-in-docker-containers-prevents-process-spawning/14163 "2024-02-07T11:13:08Z")

</div>

Hi! I’m trying to run PHP code inside Docker containers (one way to get around the current limitation of PHP 8.3 not being available, see PHP 8.3 support ), but as soon as the code tries to use symfony/process to spawn …

---

## [Using Composer in PHP 8.2](https://travis-ci.community/t/using-composer-in-php-8-2/13983)

<div class="topic-metadata">

**Author:** [@devinsays](https://travis-ci.community/u/devinsays)\
**Replies:** 1\
**Last updated:** [September 8, 2023, 4:58pm UTC](https://travis-ci.community/t/using-composer-in-php-8-2/13983 "2023-09-08T16:58:55Z")

</div>

I am getting this error when attempting to run tests in PHP 8.2: 0.02s$ phpenv global 8.2 2\>/dev/null 8.2 is not pre-installed; installing Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/…

---

## [PHP nightly = 8.0?](https://travis-ci.community/t/php-nightly-8-0/13976)

<div class="topic-metadata">

**Author:** [@dregad](https://travis-ci.community/u/dregad)\
**Replies:** 0\
**Last updated:** [September 2, 2023, 10:46am UTC](https://travis-ci.community/t/php-nightly-8-0/13976 "2023-09-02T10:46:32Z")

</div>

Hello, Could you guys please check the status of the PHP nightly version ? It appears to be very out of date (8.0.27)… From the Build job’s log: $ phpenv global nightly $ composer self-update Upgrading to version 2.6.…

---

## [Build of PHP app fails](https://travis-ci.community/t/build-of-php-app-fails/13859)

<div class="topic-metadata">

**Author:** [@eldy](https://travis-ci.community/u/eldy)\
**Replies:** 1\
**Last updated:** [June 16, 2023, 11:38pm UTC](https://travis-ci.community/t/build-of-php-app-fails/13859 "2023-06-16T23:38:25Z")

</div>

Since today, running Travis CTI with different PHP version does not work. Error is when Travis run phpenv to switch to the correct PHP version. It makes a curl to get a non existing file. For example, when running trav…

---

## [PHP version support cadence?](https://travis-ci.community/t/php-version-support-cadence/12661)

<div class="topic-metadata">

**Author:** [@dirtside](https://travis-ci.community/u/dirtside)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 7:23pm UTC](https://travis-ci.community/t/php-version-support-cadence/12661 "2023-03-06T19:23:13Z")

</div>

Hi there. We’re updating from PHP 8.0.3 to 8.1.2. Travis CI seems to support 8.1.0, but not 8.1.1 (which came out almost 8 weeks ago) or 8.1.2 (which came out almost 3 weeks ago). We can use 8.1.0, since the point releas…

---

## [Phpenv not working](https://travis-ci.community/t/phpenv-not-working/13321)

<div class="topic-metadata">

**Author:** [@tewells](https://travis-ci.community/u/tewells)\
**Replies:** 0\
**Last updated:** [September 22, 2022, 8:45am UTC](https://travis-ci.community/t/phpenv-not-working/13321 "2022-09-22T08:45:16Z")

</div>

We are running the following as part of a bionic build to add PHP 5.6, however the version of PHP is not changing on the box. sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get -y install php5.6…

---

## [Running phpenv runs rbenv instead](https://travis-ci.community/t/running-phpenv-runs-rbenv-instead/1851)

<div class="topic-metadata">

**Author:** [@sschuberth](https://travis-ci.community/u/sschuberth)\
**Replies:** 3\
**Last updated:** [June 4, 2022, 4:32pm UTC](https://travis-ci.community/t/running-phpenv-runs-rbenv-instead/1851 "2022-06-04T16:32:54Z")

</div>

Starting yesterday, running phpenv in our build script now seems to run rbenv instead, see https://travis-ci.com/heremaps/oss-review-toolkit/builds/97367816#L249 which has $ phpenv --version rbenv 1.1.1-39-g59785f6 C…

---

## [PHP 7.4 is old (7.4.2)](https://travis-ci.community/t/php-7-4-is-old-7-4-2/12976)

<div class="topic-metadata">

**Author:** [@JimBacon](https://travis-ci.community/u/JimBacon)\
**Replies:** 2\
**Last updated:** [May 16, 2022, 8:33am UTC](https://travis-ci.community/t/php-7-4-is-old-7-4-2/12976 "2022-05-16T08:33:40Z")

</div>

In the documentation it says X.Y versions are aliases for recent X.Y.Z releases pre-installed on the build images. I have in my .travis.yml dist: bionic language: php php: - '7.4' Today this results in PHP 7.4.2 …

---

## [PHP 7.4 is broken - \`error while loading shared libraries: libargon2.so.1\`](https://travis-ci.community/t/php-7-4-is-broken-error-while-loading-shared-libraries-libargon2-so-1/12804)

<div class="topic-metadata">

**Author:** [@convenient](https://travis-ci.community/u/convenient)\
**Replies:** 20\
**Last updated:** [March 22, 2022, 1:12pm UTC](https://travis-ci.community/t/php-7-4-is-broken-error-while-loading-shared-libraries-libargon2-so-1/12804 "2022-03-22T13:12:04Z")

</div>

I have created a test repo here GitHub - convenient/travis-debug The following .travis.yml language: php php: 7.4 script: - php --version Yields the following error 0.01s0.02s$ phpenv global 7.4 2\>/dev/null 7.4 i…

---

## [The command "phpenv global 7.2" failed and exited with 127](https://travis-ci.community/t/the-command-phpenv-global-7-2-failed-and-exited-with-127/12782)

<div class="topic-metadata">

**Author:** [@JIAYI615](https://travis-ci.community/u/JIAYI615)\
**Replies:** 1\
**Last updated:** [March 21, 2022, 1:30pm UTC](https://travis-ci.community/t/the-command-phpenv-global-7-2-failed-and-exited-with-127/12782 "2022-03-21T13:30:16Z")

</div>

If u can see in this branch The error information: curl: (22) The requested URL returned error: 404 Why did the error happen? Any help will be appreciated!

---

## [PHP 7.4 libargon.so file missing in builds](https://travis-ci.community/t/php-7-4-libargon-so-file-missing-in-builds/12812)

<div class="topic-metadata">

**Author:** [@Mistralys](https://travis-ci.community/u/Mistralys)\
**Replies:** 3\
**Last updated:** [March 21, 2022, 1:27pm UTC](https://travis-ci.community/t/php-7-4-libargon-so-file-missing-in-builds/12812 "2022-03-21T13:27:23Z")

</div>

My builds have started erroring out of the blue today, right after PHP is installed. The error message is the following: php: error while loading shared libraries: libargon2.so.1: cannot open shared object file: No such…

---

## [The command "phpenv global 8.1" failed and exited with 1](https://travis-ci.community/t/the-command-phpenv-global-8-1-failed-and-exited-with-1/12533)

<div class="topic-metadata">

**Author:** [@nbayramberdiyev](https://travis-ci.community/u/nbayramberdiyev)\
**Replies:** 5\
**Last updated:** [December 23, 2021, 10:17pm UTC](https://travis-ci.community/t/the-command-phpenv-global-8-1-failed-and-exited-with-1/12533 "2021-12-23T22:17:39Z")

</div>

PHP 8.1 build fails because of the following error: curl: (22) The requested URL returned error: 404 Not Found As you can see in this job, PHP 8.1 is not pre-installed, so it starts downloading and then gets curl erro…

---

## [Is there a limit on the number of builds you can have?](https://travis-ci.community/t/is-there-a-limit-on-the-number-of-builds-you-can-have/12506)

<div class="topic-metadata">

**Author:** [@terrafrost](https://travis-ci.community/u/terrafrost)\
**Replies:** 1\
**Last updated:** [December 15, 2021, 5:36pm UTC](https://travis-ci.community/t/is-there-a-limit-on-the-number-of-builds-you-can-have/12506 "2021-12-15T17:36:57Z")

</div>

I have 11 different builds in phpseclib/.travis.yml at 1.0 · phpseclib/phpseclib · GitHub and yet I’m only seeing 10 builds at Travis CI - Test and Deploy with Confidence . This makes me wonder… is there a limit on the …

---

## [Running commands on Travis CI before composer self-update runs](https://travis-ci.community/t/running-commands-on-travis-ci-before-composer-self-update-runs/12252)

<div class="topic-metadata">

**Author:** [@terrafrost](https://travis-ci.community/u/terrafrost)\
**Replies:** 0\
**Last updated:** [October 12, 2021, 12:58am UTC](https://travis-ci.community/t/running-commands-on-travis-ci-before-composer-self-update-runs/12252 "2021-10-12T00:58:38Z")

</div>

I have the following .travis.yml file: language: php matrix: include: - php: 5.3 dist: precise before\_install: - wget --no-check-certificate https://curl.se/ca/cacert.pem - echo "openssl.cafile=~/cacer…

---

## [Composer with private repos](https://travis-ci.community/t/composer-with-private-repos/11930)

<div class="topic-metadata">

**Author:** [@elb98rm](https://travis-ci.community/u/elb98rm)\
**Replies:** 7\
**Last updated:** [August 31, 2021, 8:39am UTC](https://travis-ci.community/t/composer-with-private-repos/11930 "2021-08-31T08:39:34Z")

</div>

I’m attempting to use a private repo in composer inside a travis build. On my local install (docker) this works as expected. Currently in my composer.json: "repositories": \[ { "type": "vcs", …

---

## [Unable to use \`phpenv config-rm\` on s390x or arm64](https://travis-ci.community/t/unable-to-use-phpenv-config-rm-on-s390x-or-arm64/7054)

<div class="topic-metadata">

**Author:** [@ramsey](https://travis-ci.community/u/ramsey)\
**Replies:** 1\
**Last updated:** [June 21, 2021, 10:12pm UTC](https://travis-ci.community/t/unable-to-use-phpenv-config-rm-on-s390x-or-arm64/7054 "2021-06-21T22:12:33Z")

</div>

I’m attempting to run PHP builds on the standard amd64 architecture, as well as s390x and arm64, but I’m running into issues with the behavior of phpenv config-rm when trying to disable the Xdebug extension. For PHP 7.2…

---

## [Update PHP 7.4 version](https://travis-ci.community/t/update-php-7-4-version/11638)

<div class="topic-metadata">

**Author:** [@hugovk](https://travis-ci.community/u/hugovk)\
**Replies:** 1\
**Last updated:** [June 9, 2021, 10:19am UTC](https://travis-ci.community/t/update-php-7-4-version/11638 "2021-06-09T10:19:02Z")

</div>

The latest PHP patch version listed as available in the docs is 7.4.15 (php-7.4.15.tar.bz2). Building a PHP project - Travis CI The latest stable PHP 7.4 version is 7.4.19. PHP: Downloads Please could you update so…

---

## [Dist Focal + php 7.4 and composer install](https://travis-ci.community/t/dist-focal-php-7-4-and-composer-install/11608)

<div class="topic-metadata">

**Author:** [@Webonaute](https://travis-ci.community/u/Webonaute)\
**Replies:** 3\
**Last updated:** [May 17, 2021, 5:07pm UTC](https://travis-ci.community/t/dist-focal-php-7-4-and-composer-install/11608 "2021-05-17T17:07:21Z")

</div>

am running composer install --optimize-autoloader --no-interaction --no-suggest --prefer-dist in before\_script event. Travis crash completely without clue of what is going on. I tried to run in debug mode but as soon as …

---

## [Build error when building for PHP 8.0](https://travis-ci.community/t/build-error-when-building-for-php-8-0/11002)

<div class="topic-metadata">

**Author:** [@christiansiewert](https://travis-ci.community/u/christiansiewert)\
**Replies:** 0\
**Last updated:** [January 10, 2021, 12:29pm UTC](https://travis-ci.community/t/build-error-when-building-for-php-8-0/11002 "2021-01-10T12:29:02Z")

</div>

Hello, unfortunately we are getting build errors when building our application for PHP 8.0 on Travis CI. We tried different operating systems, but we can’t get rid of the build error for PHP 8.0. Our config looks like…

---

## [Warning: xdebug.mode=coverage has to be set in php.ini](https://travis-ci.community/t/warning-xdebug-mode-coverage-has-to-be-set-in-php-ini/10919)

<div class="topic-metadata">

**Author:** [@maurobonfietti](https://travis-ci.community/u/maurobonfietti)\
**Replies:** 5\
**Last updated:** [December 26, 2020, 7:12pm UTC](https://travis-ci.community/t/warning-xdebug-mode-coverage-has-to-be-set-in-php-ini/10919 "2020-12-26T19:12:11Z")

</div>

Hi guys, My build fail when I run: phpunit --coverage-clover clover.xml php-coveralls --coverage\_clover=clover.xml -v I see this error/warning: Warning: xdebug.mode=coverage has to be set in php.ini I tried to ad…

---

## ["Unable to load dynamic library ‘apcu.so’" error on PHP 8/nightly](https://travis-ci.community/t/unable-to-load-dynamic-library-apcu-so-error-on-php-8-nightly/10754)

<div class="topic-metadata">

**Author:** [@afbora](https://travis-ci.community/u/afbora)\
**Replies:** 21\
**Last updated:** [December 11, 2020, 8:17pm UTC](https://travis-ci.community/t/unable-to-load-dynamic-library-apcu-so-error-on-php-8-nightly/10754 "2020-12-11T20:17:56Z")

</div>

Hi! When i try to test PHP 8.0 or nightly or 8.0snapshot, i get the following error. Also, when i try to install apcu extension, it warns that it is already installed. PHP 7.3 and 7.4 works great! Btw all unit tests …

---

## [Xdebug 3 is installed by default? breaking builds](https://travis-ci.community/t/xdebug-3-is-installed-by-default-breaking-builds/10748)

<div class="topic-metadata">

**Author:** [@convenient](https://travis-ci.community/u/convenient)\
**Replies:** 7\
**Last updated:** [December 9, 2020, 3:05pm UTC](https://travis-ci.community/t/xdebug-3-is-installed-by-default-breaking-builds/10748 "2020-12-09T15:05:01Z")

</div>

Hello I think that xdebug version 3 may be being installed by default now instead of version 2 is this correct? We are finding it breaking our code coverage, we have reproduced it here. Is there a way to downgr…

---

## [Warning: XDEBUG\_MODE=coverage or xdebug.mode=coverage has to be set](https://travis-ci.community/t/warning-xdebug-mode-coverage-or-xdebug-mode-coverage-has-to-be-set/10790)

<div class="topic-metadata">

**Author:** [@Falseclock](https://travis-ci.community/u/Falseclock)\
**Replies:** 1\
**Last updated:** [December 9, 2020, 12:15pm UTC](https://travis-ci.community/t/warning-xdebug-mode-coverage-or-xdebug-mode-coverage-has-to-be-set/10790 "2020-12-09T12:15:15Z")

</div>

seems virtual image not properly configured this one works correct

---

## [PHP 8.0 Missing](https://travis-ci.community/t/php-8-0-missing/10132)

<div class="topic-metadata">

**Author:** [@GrahamCampbell](https://travis-ci.community/u/GrahamCampbell)\
**Replies:** 28\
**Last updated:** [December 8, 2020, 12:27am UTC](https://travis-ci.community/t/php-8-0-missing/10132 "2020-12-08T00:27:44Z")

</div>

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

---

## [Recompile PHP to enable image support](https://travis-ci.community/t/recompile-php-to-enable-image-support/10525)

<div class="topic-metadata">

**Author:** [@manerkargaurav](https://travis-ci.community/u/manerkargaurav)\
**Replies:** 1\
**Last updated:** [November 11, 2020, 8:00am UTC](https://travis-ci.community/t/recompile-php-to-enable-image-support/10525 "2020-11-11T08:00:40Z")

</div>

Hello, I would like to know, how i can recompile php ? I need to compile php to enable webp support in gd.

---

## [How to enable WEBP image format support in PHP 7.\*?](https://travis-ci.community/t/how-to-enable-webp-image-format-support-in-php-7/3209)

<div class="topic-metadata">

**Author:** [@peter279k](https://travis-ci.community/u/peter279k)\
**Replies:** 23\
**Last updated:** [November 11, 2020, 1:28am UTC](https://travis-ci.community/t/how-to-enable-webp-image-format-support-in-php-7/3209 "2020-11-11T01:28:43Z")

</div>

As title, I’ve used the following .travis.yml setting to build my CI environment. language: php php: - 7.1 - 7.2 - 7.3 before\_script: - composer install script: - mkdir -p build/logs - ./vendor/bin/phpuni…

---

## [Can't find the bin file installed globally in composer 2](https://travis-ci.community/t/cant-find-the-bin-file-installed-globally-in-composer-2/10410)

<div class="topic-metadata">

**Author:** [@koriym](https://travis-ci.community/u/koriym)\
**Replies:** 4\
**Last updated:** [November 3, 2020, 10:42pm UTC](https://travis-ci.community/t/cant-find-the-bin-file-installed-globally-in-composer-2/10410 "2020-11-03T22:42:50Z")

</div>

Can’t find the bin file you installed as follows. composer global require --dev phpstan/phpstan ^0.12 vimeo/psalm ^3.11 /home/travis/.travis/functions: line 109: /home/travis/.composer/vendor/bin/phpstan: No such file …

---

## [Update PHP nightly](https://travis-ci.community/t/update-php-nightly/9734)

<div class="topic-metadata">

**Author:** [@nick-zh](https://travis-ci.community/u/nick-zh)\
**Replies:** 3\
**Last updated:** [September 7, 2020, 6:16am UTC](https://travis-ci.community/t/update-php-nightly/9734 "2020-09-07T06:16:03Z")

</div>

I am seeing that you guys are using a build from the 5th of August right now. It would be nice if this could be updated, since the 5th of August, the signature of zend\_update\_property\_\* has changed from taking a zval …

[Next page](https://travis-ci.community/c/languages/php/27.md?page=1)
