Control Web Panel
WebPanel => PHP => Topic started by: vifsolano on September 17, 2020, 10:27:09 PM
-
Hi, thanks for the help in advance, I have 3 servers with CWP, everything works fine, the problem is when uploading files by web or mail, after 20 or 25 seconds it shows a connection error to the server or error 500, if not that time arrives, it loads it without problems.
max_execution_time = 600
upload_max_filesize = 128M
memory_limit = 128M
post_max_size = 128M
Thank you very much
-
http://wiki.centos-webpanel.com/big-file-upload-via-file-manager
you need to set as by instructions depending on the webservers and php you use....this can be multiple locations but all locations are on the wiki
-
Just finished fixing this issue on my server. No matter what I did to any of my php.ini config files, seemed to always time out after about 20 seconds.
Turned out to be an Apache module called reqtimeout.
Go to: WebServer Settings > WebServers Conf Editor
And edit the httpd.conf
Find the line: LoadModule reqtimeout_module modules/mod_reqtimeout.so
& add a '#' in front so it reads: #LoadModule reqtimeout_module modules/mod_reqtimeout.so
Then reboot Apache from the dashboard.
-
Same issue,
This was the solution, i do not like it though - would like to understand why that is happening.