Skip to content

Conversation

@kaszarobert
Copy link
Contributor

@kaszarobert kaszarobert commented Nov 21, 2025

Closes issue #180

Based on how 8.4 is set I added 8.5 with the same settings and extensions.

xdebug and imagick don't have PECL releases that install with PHP 8.5 yet so I had to comment out those lines and install them from source.

Bare minimum self-checks

What do you think of a person who only does the bare minimum?

  • I've updated this PR with the latest code from main
  • I've done a cursory QA pass of my code locally
  • I've ensured all automated status check and tests pass
  • I've connected this PR to an issue

Pieces of flare

  • I've written a unit or functional test for my code
  • I've updated relevant documentation it my code changes it
  • I've updated this repo's README if my code changes it
  • I've updated this repo's CHANGELOG with my change unless its a trivial change (like updating a typo in the docs)

Finally

If you have any issues or need help please join the #contributors channel in the Lando slack and someone will gladly help you out!

You can also check out the coder guide.

@netlify
Copy link

netlify bot commented Nov 21, 2025

Deploy Preview for lando-php failed. Why did it fail? →

Name Link
🔨 Latest commit f5aef14
🔍 Latest deploy log https://app.netlify.com/projects/lando-php/deploys/6925ec29bd930c00088b3dfb

@kaszarobert kaszarobert changed the title Add PHP 8.5 Add PHP 8.5 Closes #180 Nov 21, 2025
@kaszarobert kaszarobert changed the title Add PHP 8.5 Closes #180 Add PHP 8.5 Closes Nov 21, 2025
@kaszarobert kaszarobert changed the title Add PHP 8.5 Closes Add PHP 8.5 Nov 21, 2025
#RUN install-php-extensions xdebug \
# && rm -f /usr/local/etc/php/conf.d/*xdebug.ini

# Install xdebug from source while there's no compatible PECL release.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can install Xdebug from Github using install-php-extensions xdebug/xdebug@master

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I didn't know it could work like that. I changed it to the suggested simpler one.

&& docker-php-ext-enable xdebug \
&& rm -f /usr/local/etc/php/conf.d/*xdebug.ini

# Install imagick from source while there's no compatible PECL release.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And same goes here. You can install Imagick from Github using install-php-extensions imagick/imagick@master

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed it to that.

@AaronFeledy
Copy link
Member

Thanks for doing this @kaszarobert, this looks good. Thanks for reviewing @todeveni. The test failures are expected since you don't have our Docker Hub credentials.

@AaronFeledy AaronFeledy merged commit 37af989 into lando:main Nov 25, 2025
33 of 65 checks passed
@kaszarobert kaszarobert deleted the PHP8.5 branch December 17, 2025 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants