I am having an Azure app Service and I want to upload/deploy an .php file to it an run it right after the upload.
I managed to upload it via curl and also start a post deployment script. Unfortunately I can not use the command “php …” in it because I get an error like: “/opt/Kudu/Scripts/starter.sh: line 2: exec: php: not foundn” in the logs.
The same occurs if I use the “/api/command” endpoint with the same command. I get the same kind of error in the response.
It seems like the php executable is not known in that environment.
Is there any way to run a php script via the command API or in a post deployment script?
Thanks in advance