I am using laravel with php-fpm and apache and i want to increase request timeout.
I tried set_time_limit(0) and ini_set('max_execution_time') but it not worked because i am using php-fpm.
When i add timeout = 300 or proxy_timeout = 300 on httpd.conf ( apache config ) problem solves But i want to do this on specific script.
Is there any solution for this problem?
Edit
Apache Version: 2.4.6
PHP: 5.6.31
OS: CentOS 7.2