Install PHP on Windows
Step 1. Download PHP
We have provided a PHP binary that is already configured for THT here:
- php_v8_1.zip (Windows)
Unzip this file to C:\php
Step 2. Add it to Path
The php directory must be in your “PATH” system environment variable.
1. Search for “Environment Variables”
2. Click “Environment Variables”
3. Open the PATH variable
4. Add the PHP directory
Step 3. Check It
Open the cmd
shell and run this:
$ php -v
You will see something like this:
PHP 8.1.7 (cli) (built: Jun 9 2022 14:08:46) (NTS) Copyright (c) The PHP Group Zend Engine v4.1.7, Copyright (c) Zend Technologies with Zend OPcache v8.1.7, Copyright (c), by Zend Technologies
Great!
Back to install THT: