Apache on XAMPP (especially on Windows) is slower than Apache on most other platforms. This means that you should increase
max_execution_time configuration parameter in
php.ini from default value of
30 to any reasonably higher value (like
240 for example). After you do that, just restart Apache and everything should work without any problems.