0

Fatal error: Maximum execution time of 10 seconds exceeded in C:\xampp\htdocs\magento\lib\Zend\Db\Statement\Pdo.php on line 228 this error coming in loading magento site in localhost. when reloading some part of webwite is coming with the same error. enter image description here

1
  • Please add more info to question Commented Aug 31, 2016 at 13:29

2 Answers 2

1

Without more information, i can only recommend increasing the max_execution_time in your php configuration.

Find php.ini and max_execution_time variable and restart PHP. php.ini should be C:\xampp\php\php.ini

Otherwise you can post the error logs here so we can track down the actual error.

3
  • i set max_execution_time=18000, after that also get same issue Commented Aug 31, 2016 at 13:43
  • Make sure you restart PHP after a change like that. If it doesn't work, try taking a look at C:\xampp\apache\logs\error.log
    – Radosav
    Commented Aug 31, 2016 at 13:45
  • [:error] [pid 2336:tid 1716] [client ::1:50065] script 'C:/xampp/htdocs/mabtest/media/index.php' not found or unable to stat, referer: localhost:8080/mabtest this error is coming on error.log file. Commented Sep 1, 2016 at 5:17
1

Set Maxexecution time in your php.ini file max_execution_time = 18000

To check the maxexecution time is set or not create one test.php file

<?php
    phpinfo();
?>

http://prntscr.com/hsaco0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.