by eric yullu.
To install moodle on windows machine,
the error is caused by moodle creating the database then php.ini has maximum execution time which by default is set to 30 . so increase the execution time from 30 to like 90 or 120
Its in your php.ini . if using wamp open your web server then go to php and select php.ini
search for max_execution and edit it.