Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Redemption's avatar

Heroku hosting error

Hello, I've just finished a laravel 8 app and now that I wanna deploy it to heroku I get an error about my php version, I use sail and docker as stated in the laravel docs and when I try sail php -v it says 8.0.5 which apparently isn't available in heroku, I'd like to know how I could change that to an available version.

0 likes
4 replies
Redemption's avatar

Thanks I rebuilt with php 8 and it updated from 8.0.5 to 8.0.9 and it worked

Redemption's avatar

It doesn't support the php version I had at the time which was 8.0.5

Please or to participate in this conversation.