Magento 2 Installation: getting stuck without error at "Installing user configuration."

Just put this code in your .htaccess file

<IfModule mod_php5.c>
  php_value  xdebug.max_nesting_level 500
</IfModule>

This is known issue with xdebug Issue with xdebug

Further you can check here https://blog.amasty.com/magento-2-installation-guide/


Following Solution work for me.

In php.ini put following setting

xdebug.max_nesting_level = 200;

Or If it not work then you can put the following code in top of setup/index.php

ini_set('xdebug.max_nesting_level', 200)