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
7 Replies
Project ID:
82518fda-9084-46a8-aeeb-20216557b795
can you send the logs for the last successful build? https://bookmarklets.up.railway.app/log-downloader/
here is the last succesful build. The nixpacks is usign v1.15.0
that wasnt with the bookmarklet, but you did tell me what i wanted to know
Solution
add a railway.toml to your project with this in it
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
no problem!