Moderator
t-p
(@t-p)
502 Bad Gateway is likely a server error. Try contacting your hosting provider.
Meanwhile try:
– clearing your cookies, cache
– different browsers
Thanks, I’m managing the server myself. Digging a bit deeper, I see
The headers it did return are “PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect()
Based on the link below I think the php.ini configuration is off where mysqli is not loading properly.
https://wordpress.org/support/topic/error-using-wp-admininstall-php-call-to-undefined-function-mysql_connect/
Not sure how the config file should be modified (I tried what was done in the link), but I’ll keep digging.
Are you running Apache or IIS? Not sure how Windows handles PHP & Apache/IIS, but have you tried to restart the Apache/IIS/PHP services?
Thanks, I’m using IIS 7.5 and was able to figure it out. I’ll describe it incase it helps anyone else googling for help:
An old version of PHP (5.3) had been installed on the server and was interfering with settings for the version of PHP (7.3.6). The whole time I could view the php info page so I thought PHP was working properly, but the WordPress install kept doing odd things – 502 errors, 500 errors, redirecting errors. I also noticed that when I went to the PHP Manager in IIS I wasn’t able to load the php-cgi module – IIS was throwing some strange error. So I wiped out both copies of PHP on the server, installed and configured the latest version (7.3.7), and then everything started working as intended and was able to do the 5-minute WP install.