Share via

[AppService Linux & PHP7.4] deploy failed use github & kudu

yuya 41 Reputation points
2020-11-05T05:12:28.31+00:00

I tryed to deploy PHP application use github & kudu.

PHP7.3 AppService -> successful.
but, php7.4 AppService -> failed.

this is error text.

error: cannot run ssh: No such file or directory\nfatal: unable to fork\n\n/usr/bin/git fetch origin --progress


Why does PHP 7.4 fail?

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

0 comments No comments

Answer accepted by question author

Ajay Kumar N 28,266 Reputation points Microsoft Employee Moderator
2020-11-05T09:52:56.673+00:00

@yuya , Thanks for the question.

Are you using private or public GitHub repo?

Kindly set the Application setting- SCM_ENABLE_DYNAMIC_INSTALL=false for PHP 7.4 -and then check.

For more information - https://github.com/projectkudu/kudu/wiki/Configurable-settings
37702-image.png

Was this answer helpful?

5 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.