I tried to upload files using laravel
app. The file was large so its take some time to process in controller. After 30 seconds request was cancelled. Then i changed max_execution_time
= 30 to max_execution_time
= 500 and restart apache2 service.its reflect in phpinfo()
but its still cancelled after 30 seconds. whats wrong with me? please help me.
Here is phpinfo()
You can set value specifically for your project using htaccess, so that you don't have to override php.ini everytime.
php_value upload_max_filesize 9999M
php_value post_max_size 9999M
php_value max_execution_time 9999M
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>