4

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?

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

1 Answer 1

2

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

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.