Click and type the exact path where you extracted PHP (e.g., C:\php ). Click OK on all open windows to save the changes.
Click the button at the bottom right.
Windows users require pre-compiled binaries from the official PHP repository. Navigate to the official PHP for Windows Download Page. Select the latest stable version (e.g., PHP 8.x). Choose between and Non-Thread Safe versions: how to download php
Under , find and select the Path variable, then click Edit . Click and type the exact path where you extracted PHP (e
Open your web browser and navigate to http://localhost:8000 . find and select the Path variable
To run PHP commands from any command prompt window, you must add the PHP directory to your system's Environment Variables.