I have a virtual machine running windows server 2012. I want to upgrade the OS so it can support PHP8. How do i accomplish this? I would think i want the latest OS available. I'm also concerned about migrating all my sites and databases .

Craig S 0 Reputation points
2023-01-25T01:42:33.4233333+00:00

I have a virtual machine running windows server 2012. I want to upgrade the OS so it can support PHP8. How do i accomplish this? I would think i want the latest OS available. I'm also concerned about migrating all my sites and databases . Is there a way to upgrade without needing to loose all my settings, etc. ? ANd how do i accomplish this without much downtime.

Mainly running websites through IIS, both .net sites and PHP sites.. but looks like windows server 2012 won't install PHP8.

I also run MYSQL and SQL Server on this VM.

Any help is greatly appreciated!

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,708 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2023-01-25T02:04:54.17+00:00

    It would have to be two-step if even possible. In order to perform an in-place upgrade licensed installation media must be used. An in-place is very risky not to mention having to do two steps. Better option is a clean install, patch fully then migrate the roles over to it.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


  2. Limitless Technology 44,541 Reputation points
    2023-01-25T16:43:29.3233333+00:00

    Hello,

    Ideally, it is recommended to migrate IIS website to a new system, rather than upgrade the same system. This will provide that all the features in IIS will be at the latest level natively.

    You can follow the next community article describing the process to migrate into a new (up to date) server:

    https://techcommunity.microsoft.com/t5/iis-support-blog/how-to-migrate-a-website-using-web-deploy/ba-p/852244

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.