Windows (iis) server deployment and installation wordpress (php) website tutorial

This tutorial includes iis installation, php installation, mysql installation, php website deployment online, windows service deployment php website, only this article is enough.

This tutorial is a tutorial for deploying and installing a wordpress (php) website for an iis server, and it is also applicable to wordpress website migration.

configuration requirements

1. Windows server installation iis windows server installation iis manager

       Open Control Panel > Programs and Features > Enable or manage Windows features

What needs to be explained is that CGI must be selected. Without this, there is no way to load the PHP-CGI.exe program later. This is because the web site hosting PHP in the IIS manager needs to use CGI to process HTTP requests. By default, there is no CGI module in IIS, so you need to install the CGI module in the Windows server's Server Manager (Server Manager)

2. Install php7.4+ version windows server to install php

        PHP official download address

       PHP historical version download address

       The difference between different versions of PHP (src version, nts version and win version)

        Windows service running php7.4 requires the server to install and run the Visual C++ 2015 Redistributable runtime library

       If the Visual C++ runtime library is missing, a 500 error will be reported, and different versions of php have different requirements for the runtime library.

       Visual C++ 2012-2019 Redistributable Runtime Download

        Visual C++ Redistributable Microsoft Official Download Address </

Guess you like

Origin blog.csdn.net/qq_39339179/article/details/132144784