Facing so many issues in running a Magento in the local environment on windows 10 😓. Yes I know that I too faced it. tried running the Magento in Xampp ended in issues while running the Magento admin...
But no worries here is a short solution. Don't worry its not a lengthy steps.
Here we go.
1) Download wamp 64 bit for windows 10. just google and get the last version. I have installed the 3.1.9 version. ( may this link will help). Run installation in administrator mode
2) Just install wherever you need. But have the path in mind.
4) Extract the Magento zip to Wamp www directory ( D:\Installs\wamp64\www) as magento2. after extraction path will be D:\Installs\wamp64\www\magento2
5) Check localhost in web browsers. you will get as below.
* Marked the php as 7.0.33, the magento 2 needs 7.0 or higher php version. if not having the same version choose for the wampserver64.
Here is the important setups before running localhost/magento2 on browser
* Edit php.ini,Modify the below variables as given. (D:\installs\wamp64\bin\apache\apache2.4.39\bin\php.ini)
max_execution_time = 2000
max_input_time = 2000
And save the file.
* Edit httpd.config in apache path.
(D:\installs\wamp64\bin\apache\apache2.4.39\conf\httpd.conf)
enable "LoadModule version_module modules/mod_version.so"( remove the # before the line) and save
6) Restart the service in wampserver64 using restart all services.
7) open browser and load "localhost/magento2". you get the Magento setup process.