Azure / App-Service-Migration-Assistant

Azure Websites Migration Assistant for Windows is a tool that allows customers to move their existing sites hosted on IIS servers into the cloud on Azure App Service. For more information check out https://appmigration.microsoft.com .
https://appmigration.microsoft.com
MIT License
75 stars 60 forks source link

PHP Framework Block #5

Closed HenryClark1 closed 5 years ago

HenryClark1 commented 5 years ago

Investigative information

Please provide the following:

Repro steps

Provide the steps required to reproduce the problem:

  1. Open App Service Migration Tool as Admin on Shared IIS Server with PHP installed
  2. Select simple HTML site for migration not using PHP
  3. Receive Error advising PHP Configuration Detected

Expected behavior

Provide a description of the expected behavior.

I would think that if the actual selected site isn't using PHP then it would be valid for migration, seems to be picking up on PHP installed on the server, there is no reference to PHP in the sites web.config

Actual behavior

Provide a description of the actual behavior observed.

Receive error that PHP Configuration Detected {"CheckName":"Frameworks","Result":false,"Status":"Block","Title":"Frameworks","Description":"Checks if the site is using unsupported frameworks.","DisplayMessage":"PHP configuration detected","LearnMoreLink":"https://go.microsoft.com/fwlink/?linkid=2084295"},

Known workarounds

Provide a description of any known workarounds.

Uninstall PHP from server? Not viable when running 20 sites on single server

NitashaV commented 5 years ago

Thanks for reporting this issue! We only support migrating ASP.NET apps in the current version of the migration assistant. I agree that we can and should be more upfront about the supported and unsupported scenarios. we will fix that.

Having said that, we are working to add support for PHP in a future release.

HenryClark1 commented 5 years ago

Thanks for responding.

I've found that because PHP was installed on the Shared IIS Server it sets index.php and a PHP handler mapping to all sites regardless of if they utilize PHP or not. After removing those references the site is valid to migrate.

Cheers