Share via

PHP web app: replace Windows container with Linux one

Alexander Hitrov 21 Reputation points
2021-02-16T19:04:55.077+00:00

Hi,

is it possible?

I am particularly not interested in deleting the app 'cause existing *.azurewebsites.net domain must be preserved.

I have issues with .htaccess (rewriting) as well as php.ini settings.

Thanks!

Azure Container Registry
Azure Container Registry

An Azure service that provides a registry of Docker and Open Container Initiative images.

Azure Container Instances
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

Ryan Hill 30,336 Reputation points Microsoft Employee Moderator
2021-02-17T06:14:50.743+00:00

Hi @AlexanderHitrov-2710,

I'm assuming you are referring to the kind of your app service plan. If so, then unfortunately no, this type of workflow is not supported. You would have to create a new Linux app service plan and redeploy your code to the new app service plan. You can also download your files from your existing app service if you don't access to the source code repo. I will say that deleting the app and creating the new one is quick process but can't 100% guarantee you'll have the same name, there is a risk. The guaranteed route is to use a custom domain, that way it doesn't matter what <app-name> is. Check out Scott Hanselman blog about his migration process.

Regards,
Ryan

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

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.