Step 1 : download xampp version 7.1.32
Step 2: Once you’ve downloaded it, unpack it to find the php and apache folders.
Step 3: In C:xampp, rename the php and apache folders.
![](https://www.devopsschool.com/blog/wp-content/uploads/2020/12/php-and-apache-folder-paste-from-extract-older-version-of-xampp.jpg)
Step 4: Paste the php and apache folders from the extract folder into C:xampp.
Step 5: Restart Apache and MySQL, then use the command “php -v” to check the PHP version.