How to solve a timeout error in Laravel 5

后端 未结 13 2202
说谎
说谎 2020-11-30 08:43

I have the following set up:

In routes I have:

Route::get(\'articles\', \'ArticlesController@index\');

The index method in the controller is simply:<

13条回答
  •  忘掉有多难
    2020-11-30 09:05

    Execution is not related to laravel go to the php.ini file In php.ini file set max_execution_time=360 (time may be variable depends on need) if you want to increase execution of a specific page then write ini_set('max_execution_time',360) at top of page

    otherwise in htaccess php_value max_execution_time 360

提交回复
热议问题