WordPress installation does not get completed in WAMP server

I hope that what solved my problem will help you, in php.ini, I set the max_execution_time configuration to 90 instead of the default value 30.

max_execution_time = 90