Set max_execution_time for view? I've got a view that generates a CSV report on user information. However, due to the size of the dataset it's causing the server to timeout. Is there some way that I can set the max_execution_time() or set_time_limit() just for this path?
If you're looking for a custom-code centric path. Both D7 &amp; D8 provide a hook_views_pre_execute() hook. It will trigger prior to any view query execution.

You can hook into this function, inspect $view object for the particular view you're wanting to extend your PHP execution, then call the PHP function of your choice.