How to solve a timeout error in Laravel 5

后端 未结 13 2177
说谎
说谎 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:11

    If using PHP7, I would suggest you changing the default value in the public/.htaccess

    
       ...
       php_value max_execution_time 300
       ...
    
    

提交回复
热议问题