Windows Server 2022 Datacenter Web Platform Installer doesn't work

Brass Contributor

I came close to giving up on migrating web sites from Windows Server 2019 Datacenter to Windows Server 2022 Datacenter under Azure as I couldn't get PHP to work.

  1. Web Platform Installer in IIS hasn't installed anything successfully! It told me that it hadn't installed PHP when it had at least installed it partially.
  2. I therefore installed PHP Manager for IIS from a download as well as URL Rewrite.
  3. Using PHP Manager to get phpinfo crashed FastCGI and I couldn't seem to solve the issue. Eventually, I found a suggestion that you should run 

    .\php.exe -info

    in PowerShell from the PHP installation directory. This revealed an issue with the Visual C++ Redistributable, solved by downloading and installing:
    Microsoft Visual C++ Redistributable Latest Supported Downloads 

    I offer this in case others hit the same problem.
0 Replies