Unable to complete orynx build after PHP version upgrade to 8

Subin Gyawali 1 Reputation point
2021-12-06T16:59:40.743+00:00

My azure web app was running on PHP 7.4 and was working fine. I am deploying it by connecting with my GitHub repo. Today I updated the PHP version of my web app to 8 and now the orynx build is failing. Below is the log:

*Command: oryx build /home/site/repository -o /home/site/wwwroot --platform php --platform-version 8.0 -i /tmp/8d9b8d82a7b2f31 --log-file /tmp/build-debug.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.20210826.1, Commit: f8651349d0c78259bb199593b526450568c2f94a, ReleaseTagName: 20210826.1

Build Operation ID: |vxeH8KxLJxg=.aac925eb_
Repository Commit : 3ef41a7a588a299ce7325e0ec1477143fc821b93

Detecting platforms...
Error: Platform 'python' version '3.8.6' is unsupported. Supported versions:
Error: Platform 'python' version '3.8.6' is unsupported. Supported versions:\n/opt/Kudu/Scripts/starter.sh oryx build /home/site/repository -o /home/site/wwwroot --platform php --platform-version 8.0 -i /tmp/8d9b8d82a7b2f31 --log-file /tmp/build-debug.log *

How do I resolve this?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,823 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 25,476 Reputation points Microsoft Employee
    2022-01-05T15:34:19.547+00:00

    @Subin Gyawali , for whatever reason, your app is not correctly detecting PHP and pulling Python instead which is causing your issue. Please see my most recent private message so we can work more closely together to resolve your issue.

    0 comments No comments