Control Web Panel
WebPanel => Apache => Topic started by: vmSean on May 17, 2019, 04:23:51 PM
-
Hello,
I'm having a problem with my CentOS 7.6 server w/ CWP. When trying to upload a file (Wordpress theme upload), the browser session seems to terminate before the file can be uploaded (Browser states ERR_CONNECTION_ABORTED).
In my apache logs, I see the following error, which correlates to the browser session (xxx = my home IP):
[Fri May 17 09:10:38.723389 2019] [core:error] [pid 1943:tid 139641030129408] [client xxx.xxx.xxx.xxx:55273] AH00524: Handler for (null) returned invalid result code 70007, referer: https://www.mysite.com/wp-admin/theme-install.php?browse=featured
I've tried everything I can in the PHP.ini file (increasing timeouts, file upload size, etc), which has done nothing. I've also disabled Mod Security, as well as CSF. An extensive Google search also hasn't seem to help much. I also don't have this problem on any of my other CentOS 7.6 servers that don't use CWP. I'm using the "Apache Only" option in CWP, along with PHP 7.3.5. PHP-FPM is not installed.
Any ideas?
-Sean
-
Add this line to apache vhost under "proxy_fcgi_module"
ProxyTimeout 600
eg :
<IfModule proxy_fcgi_module>
<FilesMatch \.php$>
SetHandler "proxy:%backend_fcgi%|fcgi://localhost"
</FilesMatch>
ProxyTimeout 600
</IfModule>
-
I have the same problem, or what is the file?
My conf :
Apache version: Apache/2.4.39
PHP version: 7.3.6 PHP-FPM is forced
Web Servers: apache-only
-
need help plz
-
I am having the same problem. This problem comes when we upload file of size greater than 8MB .
Even, my configuration is like below,
1. max_execution_time 300 300
2. max_file_uploads 20 20
3. max_input_time 3000 3000
4. memory_limit -1 -1
5. post_max_size 4096M 4096M
6. upload_max_filesize 2048M 2048M
Please Help me.
-
I found the solution, for my configuration:
I disable module LoadModule reqtimeout_module modules / mod_reqtimeout.so in apache httpd.conf
-
Thank You very Much.
This solves my problem
-
Disabling mod_reqtimeout.so as suggested by StephaneB works for me too.
I'm curious of how to debug this in PHP and what caused it.
-
I found the solution, for my configuration:
I disable module LoadModule reqtimeout_module modules / mod_reqtimeout.so in apache httpd.conf
here from Portugal
thank you helped me a lot