In my store 25K records available, when i try to download i am getting error like Request is taking too long to respond. How can i solve this response error?

  • 1
    In php.ini file and increase the following values: max_execution_time = 1200 memory_limit = 512 – Aditya Shah Mar 18 '19 at 6:09
  • :) Ahaa Great ! Which steps you followed ? – Aditya Shah Mar 18 '19 at 6:17
  • 1
    @Aaditya memory_limit = 512, this one. – zus Mar 18 '19 at 6:19
  • 1
    @Aaditya sure... – zus Mar 18 '19 at 6:22

Increase PHP memory limit

1. php.ini

Locate your php.ini file by run phpinfo() function

memory_limit = 64M

2. .htaccess

Put this line in your first line of your .htaccess file

php_value memory_limit 64M

3. PHP run time

Maybe you hosting provider will accept you change ini information in run time, in this case you can add php code like this in first line of php bootstrap file

ini_set('memory_limit', '64M');  

More reference

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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