How to fix max execution time error on WAMP Localhost

WAMP Server LogoWhile working on localhost, we receive a very dirty error, like maximum time exceeded. This is very frustrating, while you are working on something important. So, here is how to fix this :

Open your php.ini

Find:
post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

Then restart wamp to take effect