0

I am making an application with upload csv file. but I am having an Maximum execution time of 60 seconds exceeded error. How to handle this on Laravel 5.3? I am uploading a file with a minimum of 1000 lines filling up sql columns. Thank you so much

kalawadei
  • 25
  • 1
  • 7
  • Possible duplicate of [How to solve a timeout error in Laravel 5](https://stackoverflow.com/questions/30270316/how-to-solve-a-timeout-error-in-laravel-5) – Will B. Aug 30 '17 at 02:47

2 Answers2

1

Add ini_set('max_execution_time', 600); in your controller.

or set max_execution_time = 600 in your php.ini file

0

You can use in controller set_time_limit(0); for setting the max execution time or you can set it to 0 if the time limit is infinite.

or you can go to your php.ini file and set the execution time there

Divyesh pal
  • 952
  • 1
  • 11
  • 17