installphp.info


← Back to home page

Install PHP 7.3 on Windows 7

Warning! This PHP version is end-of-life!

PHP 7.3 reached end of life on 06 Dec 2021 and is no longer being updated. It's strongly recommended to upgrade to the latest version as soon as possible. You can read the official PHP migration guide here.

Installing PHP 7.3 on Windows 7

Prerequisites

  • Windows 7 (32-bit or 64-bit)
  • Administrator access
  • Internet connection
  • Web server (e.g., Apache or IIS) installed

Installation

  1. Visit the official PHP website: https://www.php.net/downloads.php
  2. Download the PHP 7.3 Windows ZIP package (choose 32-bit or 64-bit based on your system)
  3. Extract the ZIP file to a directory of your choice (e.g., C:\php7.3)
  4. Rename the extracted folder to "php"
  5. Add the PHP directory path to your system's PATH environment variable
  6. Copy the php.ini-development file to php.ini in the same directory
  7. Open php.ini and make necessary configurations (e.g., enable required extensions)
  8. Configure your web server to work with PHP
  9. Restart your web server

Verification

  1. Open a command prompt and type php -v. This should display the installed PHP version.
  2. Create a file named phpinfo.php in your web server's root directory with the following content:
    <?php phpinfo(); ?>
  3. Access the file through your web browser (e.g., http://localhost/phpinfo.php)
  4. If PHP is correctly installed, you should see a page with detailed PHP configuration information