Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.61k stars 5.02k forks source link

how to create a windows php app service #11129

Open njuCZ opened 3 years ago

njuCZ commented 3 years ago

how to create a windows php app service through sdk?

I tried set windows_fx_version to PHP|7.3 and set php_version to 7.3, both could not work and the app service created is dotnet.

the rest api for app service is so confusing

ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

ozinus commented 3 years ago

(~> 2.44.0 ), This is still an issue. Any update on this..? - Thanks.

lordisp commented 3 years ago

any updates on this one? I having the same issue

lordisp commented 3 years ago

I solved this by deploy the webapp using arm

TeplrGuy commented 3 years ago

I think I may have found a solution @lordisp @mleziva

set use_32_bit_worker_process to false.. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/app_service#use_32_bit_worker_process

This will set it to 64 and default to php. I think 32 bit may not be available for php