My WordPress site is using CloudFlare as a CDN, and if I use the site's IP address to access wordpress/wp-admin/install.php
directly, it works fine.
However, when I try to call wordpress/wp-admin/install.php
using my site's domain with CloudFlare, it always reports a "500 Internal Server Error".
I uploaded all my WordPress files to wordpress/
, and tried everything given in this tutorial: How to Fix the Internal Server Error in WordPress, such as:
- Checking for Corrupt .htaccess File
- Increasing the PHP Memory Limit
- Deactivate all Plugins
- Re-uploading Core Files
But received the same error. The link above says:
If increasing the PHP memory limit did not fix the issue for you, then you are in for some hard-core trouble shooting.
The error log has:
[Mon Jan 26 00:26:16.850503 2015] [fcgid:warn]
[pid 8162] (104)Connection reset by peer: [client 173.245.48.159:53072]
mod_fcgid: error reading data from FastCGI server
[Mon Jan 26 00:26:16.850625 2015] [core:error]
[pid 8162] [client 173.245.48.159:53072]
End of script output before headers: install.php
Does anyone know how to solve this issue with accessing WorldPress behind CloudFlare?
hello world
example in test.php file?wordpress/wp-admin/install.php
via an IP address, but not behind CloudFlare, so it doesn't seem like it's a PHP issue on the server, even though the error log might suggest so. It's likely that CloudFlare's caching is the culprit.