Railway support for PHP8.0

Our recent deployments have been failing recently and from the error logs it was noted that the support for PHP8.0 has been dropped by Railway. Our application however is still depending on PHP8.0 and to upgrade the codebase to PHP8.1 or 8.2 will take a while. Is there any way we can explicitly build this with PHP8.0 instead? Project ID : 82518fda-9084-46a8-aeeb-20216557b795 Github Repo: one-medicare/oc-polaris Nixpacs Version: v1.17.0 Error Log: error: php80 has been dropped due to the lack of maintenance from upstream for future releases #8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
Solution:
add a railway.toml to your project with this in it
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
...
Jump to solution
7 Replies
Percy
Percy13mo ago
Project ID: 82518fda-9084-46a8-aeeb-20216557b795
Brody
Brody13mo ago
can you send the logs for the last successful build? https://bookmarklets.up.railway.app/log-downloader/
AzahariZaman
AzahariZamanOP13mo ago
here is the last succesful build. The nixpacks is usign v1.15.0
Brody
Brody13mo ago
that wasnt with the bookmarklet, but you did tell me what i wanted to know
Solution
Brody
Brody13mo ago
add a railway.toml to your project with this in it
[build]
nixpacksVersion = "1.15.0"
[build]
nixpacksVersion = "1.15.0"
AzahariZaman
AzahariZamanOP13mo ago
Im sorry but I'm using company computer that the IT poicy does not allow any use of bookmarklet. Nonetheless, I will try to set the toml as said. Will let you know the outcome okay It works. Build successfully. Thanks for the help
Brody
Brody13mo ago
no problem!
Want results from more Discord servers?
Add your server