Maximum execution time exceeded on Magento Installation on localhost
If you are trying to install Magento on your localhost, WAMP or XAMPP, but your installation gets stuck in the middle with an error message,
Fatal error: Maximum execution time of 60 seconds exceeded in c:\wamp\www\magento\lib\Zend\Db\Statement\Pdo.php on line 228
then here is the solution for that to fix it, open your php.ini and replace the value for ‘max_execution_time’ and ‘max_input_time’ as per below.
max_execution_time = 3600 max_input_time = 3600
Another way to work around is to rename php.ini.sample to php.ini located in magento folder.DOWNLOAD SOLUTION HERE