First: go to www.php.net and click on downloads, or go directly to
http://www.php.net/downloads.php
http://windows.php.net/download

Choose the latest PHP x.y.z (Current stable) For IIS, download the non-threadsafe zip file

  1. Extract the downloaded zip file to c:\PHP

  2. Download PHP-Manager for IIS 7 (that's an IIS-controlpanel-extension, also works for IIS 8) from https://github.com/phpmanager/phpmanager/releases‎ (make sure you choose the right bitness (32 vs. 64)

  3. Open the IIS management console (inetmgr.exe)

  4. Double-click PHP-Manager and click on "register new PHP installation"
    (note to self: never remove the PHP directory, otherwise "rien ne va plus")

  5. Choose php-cgi.exe and click ok
  6. Click on "Configure error reporting". Check "Development machine" and click apply, then click "back to main page"
  7. Go to C:\inetpub\wwwroot and create a new textfile called "phpinfo" and put this content into it :

<?php phpinfo(); // Show all information, defaults to INFO_ALL ?>

Create a new file called hello.php in c:\inetpub\wwroot with this content
<?php echo "Hello World !" ; ?>

10. open cmd.exe and execute "iisreset"

  1. Use your browser of choice, and navigate to those pages:
    http://localhost/phpinfo.php
    http://localhost/helloworld.php

Now IIS is (should be) serving PHP.

Answer from Stefan Steiger on Stack Overflow
🌐
PHP
windows.php.net › download
PHP For Windows: Binaries and sources Releases
x64 builds are recommended (almost all Windows installations support x64).
🌐
PHP
windows.php.net
PHP For Windows: Home
Well, the PHP for Windows team does not want to provide possibly premature binary packages, so as usual, we will wait until late January or early February to trigger the mass build for all applicable PECL packages; that is, after PHP 8.1.2 has been released, what is currently scheduled for January, 20th. After the builds have been done, you can download the binary packages from pecl.php.net as usual.
🌐
PHP
php.net › downloads.php
PHP: Downloads
It is recommended to use x64 builds of PHP as almost all Windows installations currently support x64.
🌐
PHP.Watch
php.watch › articles › winget-install-php
How to install PHP on Windows using Winget • PHP.Watch
December 26, 2024 - While the winget download command only downloads a given PHP version, the winget install command downloads a Windows PHP build, verifies it, extracts it, and updates system PATH variable to make php available to run from the command line.
🌐
Scritpcase
scriptcase.net › docs › en_us › v9 › manual › 02-scriptcase-installation › 05-windows_php
Installing PHP 8.2 - Windows - Scriptcase Low-Code documentation
For Windows 7 SP1, you must verify if the system has the following items installed: Visual C++ Redistributable Packages for Visual Studio (2008, 2010, 2012, 2013, 2015) x86 and x64. If you already have a Web Server with Apache and PHP 8.2 configured, just go to How to Enable SourceGuardia Loader and proceed to manual installation. To proceed with the installation, you need to download ...
🌐
SitePoint
sitepoint.com › blog › installation › how to install php on windows 10 and 11 (with apache & mysql)
How to Install PHP on Windows 10 and 11 (with Apache & MySQL)
November 6, 2024 - Install PHP by following the steps below. Note that there’s more than one way to configure Apache and PHP, but this is possibly the quickest method. Get the latest PHP x64 Thread Safe ZIP package from https://windows.php.net/download/.
🌐
GeeksforGeeks
geeksforgeeks.org › php › how-to-install-php-in-windows-10
How to install PHP in Windows 10? - GeeksforGeeks
September 9, 2024 - It is an open-source software (OSS), which is free to download and use. PHP stands for "Hypertext Preprocessor". PHP files are saved with an extension called .php. It supports many databases MySQL, Oracle, etc. ... Step 2: Click on the Windows "Downloads" button.
Top answer
1 of 10
29

First: go to www.php.net and click on downloads, or go directly to
http://www.php.net/downloads.php
http://windows.php.net/download

Choose the latest PHP x.y.z (Current stable) For IIS, download the non-threadsafe zip file

  1. Extract the downloaded zip file to c:\PHP

  2. Download PHP-Manager for IIS 7 (that's an IIS-controlpanel-extension, also works for IIS 8) from https://github.com/phpmanager/phpmanager/releases‎ (make sure you choose the right bitness (32 vs. 64)

  3. Open the IIS management console (inetmgr.exe)

  4. Double-click PHP-Manager and click on "register new PHP installation"
    (note to self: never remove the PHP directory, otherwise "rien ne va plus")

  5. Choose php-cgi.exe and click ok
  6. Click on "Configure error reporting". Check "Development machine" and click apply, then click "back to main page"
  7. Go to C:\inetpub\wwwroot and create a new textfile called "phpinfo" and put this content into it :

<?php phpinfo(); // Show all information, defaults to INFO_ALL ?>

Create a new file called hello.php in c:\inetpub\wwroot with this content
<?php echo "Hello World !" ; ?>

10. open cmd.exe and execute "iisreset"

  1. Use your browser of choice, and navigate to those pages:
    http://localhost/phpinfo.php
    http://localhost/helloworld.php

Now IIS is (should be) serving PHP.

2 of 10
4

As far as I can see there are no MSI installers for PHP 5.4.x available from http://windows.php.net/

Additionally, since PHP 5.3 there are no MSI installers available that work together with the binaries from apache.org and you have to use the binaries from http://www.apachelounge.com/

Find elsewhere
🌐
w3resource
w3resource.com › php › installation › install-php-on-windows.php
Install PHP on Windows - w3resource
August 19, 2022 - Besides full installation, you ... existing version. ... You have to download zipped binary version of PHP from http://www.php.net/downloads.php....
🌐
SourceForge
sourceforge.net › projects › phpinstallermsi
PHP Installer MSI download | SourceForge.net
Download · Share This · Windows · Summary · Files · Reviews · Support · MSI package for installing non-thread-safe build of PHP. The PHP source code is available at http://svn.php.net/viewvc/. The PHP installer source code is available at http://svn.php.net/viewvc/php/win-installer/. See ...
🌐
PHP
windows.php.net › downloads › releases
windows.php.net - /downloads/releases/
windows.php.net - /downloads/releases/ · [To Parent Directory] 12/17/2025 5:18 PM <dir> archives 12/17/2025 5:21 PM 21685 cache.info 6/15/2021 12:31 AM <dir> latest 11/2/2022 9:46 PM 26132214 php-7.4.33-nts-Win32-vc15-x64.zip 11/2/2022 9:46 PM 24327462 php-7.4.33-nts-Win32-vc15-x86.zip 11/2/2022 ...
🌐
Uptodown
php.en.uptodown.com › windows › development › download
Download PHP 8.5.1 for Windows | Uptodown.com
December 17, 2025 - Windows / Apps / Development / ... versions · Click on "Download" to get the file. Find it in your browser's Download folder and open it to start the installation....
🌐
Phpapprentice
phpapprentice.com › installing-php
Installing PHP
You will also need to choose 32 bit (x86) or 64 bit (x64) depending on your version of Windows. Download the corresponding Visual C++ Redistributable from the same site. For PHP 7.1, it is VC14 and for PHP 7.2, it is VC15. Install the VC redistrubutable using the downloaded executable.
🌐
MonoVM
monovm.com › 🪟 windows 🪟 › how to install php on windows 10
How To Install PHP on Windows 10
October 6, 2025 - First, you must download the PHP installer from the website below. You can download either the 32-bit or 64-bit version, depending on your Windows 10 version.
🌐
Medium
medium.com › @beno.dev › how-to-install-php-7-4-on-windows-10-cc0d7fb5cf7
How to install PHP 7.4 on windows 10 | by Beno Developer | Medium
September 8, 2022 - To get it, go to https://windows.php.net/download. you will find several PHP versions available; depending on your Windows Architecture, check for PHP 7.4 Thread Safe (x64 or x86).
🌐
Medium
medium.com › @m.c.zawadzki › php-set-up-tutorial-55c828f16781
PHP — Set up tutorial. Guide to PHP Installation on Windows… | by Michał Zawadzki | Medium
November 22, 2024 - In the case of the Windows operating system, I will focus on presenting probably the two most commonly used methods for installing PHP: manual installation and installation via XAMPP. ... 1. The initial situation assumes that PHP is not installed, as illustrated in the figure below, where the php command returns a message indicating that the command is not recognized. ... 2. The first step is to download the archive containing the PHP files (available here).