I am trying to install WordPress on a site using a Windows server with Plesk. I have uploaded and unzipped the files, created the MySQL database and edited wp-config.php
When going to wp-admin/install.php, I get the following error:
502 Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server.
Googling, I discover this may occur under Plesk when a fopen() is attempted on a file not in the local filesystem.
By the process of commenting out various lines in the source, I am 99% sure it is happening somewhere in wp-settings.php
However, this file contains a large amount of requires() and before I spend too much time trying to find out where the culprit is, I thought I would ask here if anyone has had the same problem or would know where the rogue fopen() might be. As far as I can tell, it won’t be possible for me to change the PHP configuration to fix it, so hopefully it is something that can be worked around.
- The topic ‘502 Bad Gateway – installing via Plesk’ is closed to new replies.