When I used Plesk control panel, I used to upload large files. Recently, I switched to ISPconfig and now my php.ini files, Apache configuration is very similar. When I am uploading large files via web browser, exactly after 20 seconds, it stops uploading. Specifically, approximately 40% of 100 MB file uploads fine during 20 seconds; I see the percentage of the upload under the Chrome browser. Then, the value of the percentage stops after 20 seconds and shows ERR_CONNECTION_RESET error. I checked logs, but there is nothing regarding the issue. My php.ini configuration as follows: max_execution_time 300000 max_input_time 300000 upload_max_filesize 500M post_max_size 500M memory_limit 1024M max_file_uploads 30 Timeout8000(in apache2.conf) LimitRequestBody0(in htaccess) What else should I change in order to increase an execution time? Obviously, there is some config that does not allow to upload a file after 20 seconds. My assumption is that there is something in ISPconfig Configuration that must be tuned. OS: Debian GNU/Linux 8 Ispconfig: 3
I use PHP 7.1, fast-cgi, prefork mpm, apache 2.4. The following codes are written in /opt/php-7.1/lib/php.ini and when I use phpinfo(), these settings are displayed: max_execution_time 300000 max_input_time 300000 upload_max_filesize 500M post_max_size 500M memory_limit 1024M max_file_uploads 30 Timeout 8000 in /etc/apache2/apache2.conf LimitRequestBody 0 at the bottom of .htaccess file of the web directory of the domain. What else should I change in order to overcome timeout of 20 seconds?
Ok, so the settings gt applied when you see them in phpinfo(). Try to use php-fpm mode, do you see the same behaviour?
I just tried to switch to php-fpm mode, but it did not help. Exactly after 20 seconds, uploading stops.