Oryx
Oryx copied to clipboard
Platform 'php' version '8.0' is unsupported. Supported versions
We have updated running application laravel frame work from PHP 7 to PHP 8, it's working fine on local windows and linux susyem , when trying to sync to deployment in azure getting below error.
command: oryx build /home/site/repository -o /home/site/wwwroot --platform php --platform-version 8.0 -i /tmp/8da884e7257a667 --log-file /tmp/build-debug.log | tee /tmp/oryx-build.log Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20220308.4, Commit: c92fa6a2d6fc14dc9646f80e2bb2e393a5cdc258, ReleaseTagName: 20220308.4
Build Operation ID: |IbHy2OSgLrc=.9062a40f_ Repository Commit : eeb9436bd0536a7c0de045935cc6c8ad0c93a7f5
Detecting platforms... Error: Platform 'php' version '8.0' is unsupported. Supported versions: Error: Platform 'php' version '8.0' is unsupported. Supported versions:\n/bin/bash -c "oryx build /home/site/repository -o /home/site/wwwroot --platform php --platform-version 8.0 -i /tmp/8da884e7257a667 --log-file /tmp/build-debug.log | tee /tmp/oryx-build.log ; exit $PIPESTATUS "
Hi @ravidigitalway, thanks for reporting the issue. Can I know what timeframe the issue occurred, is it an intermittent error when you build the app or it's still happening? Oryx supported PHP 8.0 in all images and dynamic installation, oryx recently allow images to pull corresponding debian flavor SDKs from storage account, not sure if it something occurred temporarily when we modified the version files?
Did you solve the problem ? I’m having the same issue
I have a similar issue:
Command: oryx build /home/site/repository -o /home/site/wwwroot --platform php --platform-version 8.2 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8db526a90966169 | tee /tmp/oryx-build.log Operation performed by Microsoft Oryx, https://github.com/Microsoft/Oryx You can report issues at https://github.com/Microsoft/Oryx/issues
Oryx Version: 0.2.20230210.1, Commit: a49c8f6b8abbe95b4356552c4c884dea7fd0d86e, ReleaseTagName: 20230210.1
Build Operation ID: 0a2f852f5c1da7d3 Repository Commit : e9411461744b84c38b0768f158c375e604df3f82 OS Type : bullseye Image Type : githubactions
Detecting platforms... Error: Platform 'php' version '8.2' is unsupported. Supported versions: Error: Platform 'php' version '8.2' is unsupported. Supported versions:\n/bin/bash -c "oryx build /home/site/repository -o /home/site/wwwroot --platform php --platform-version 8.2 -p virtualenv_name= --log-file /tmp/build-debug.log -i /tmp/8db526a90966169 | tee /tmp/oryx-build.log ; exit $PIPESTATUS "
@frivadelaureate - could you provide some more info on this issue?
- Where are you deploying this (e.g. App Service, Static Web Apps, etc.)?
- Do you have a simple reproduction that we could use to debug, or perhaps your repo?
- Do you have any networking rules that could block access to our CDN? https://github.com/microsoft/Oryx/blob/main/doc/hosts/appservice.md#network-dependencies
Hi @pauld-msft. Thanks for the response. Here you have more info:
- I'm using a Azure App-service for PHP, but just deploying a static web (HTML & CSS).
- The app-service auto synchronization was working until may-5.
- The repository is in Bitbucket, the webhook still exist and there is no conflict on the main branch.
- Don't have any network restriction.
We're closing this issue due to its age. If this is still impacting you please open a new issue and simply link back to this one.