Share via

Kudu on Linux Web App - PHP not installed?

Wendy Kopal 6 Reputation points
2020-12-02T14:26:34.113+00:00

I'm trying to setup a Laravel Web App and am stuck on getting the migration to run. I've started up Kudu to take a look at things and it looks like there is no PHP installed - even though this Web App was setup using PHP version 7.4.

$ whereis php
php:
$

Is this something that I need to install?

My plan is to run the site deployment though a Pipeline and have the migration steps run as inline script. So I already have that setup, and when I run the pipeline, I get the following error:

##[error]/home/site/VSTS_PostDeployment_4741606855304617/kuduPostDeploymentScript.sh: 1: /home/site/VSTS_PostDeployment_4741606855304617/kuduPostDeploymentScript.sh: php: not found

How do I get PHP on Kudu?

Thanks,
Wendy

Azure App Service
Azure App Service

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


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.