New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Apache AH00524 error with code 70007

Started by vmSean, May 17, 2019, 04:23:51 PM

Previous topic - Next topic

vmSean

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

Sandeep

#1
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>

StephaneB

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


kshitij.singh

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.

StephaneB

I found the solution, for my configuration:
I disable module LoadModule reqtimeout_module modules / mod_reqtimeout.so in apache httpd.conf

kshitij.singh

Thank You very Much.
This solves my problem

nborromeo

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.

luis web

Quote from: StephaneB on September 20, 2019, 09:33:45 AM
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
Jony Host