PHP 8.3.6 IP Detection not working (no errors)
-
I’ve searched the forum for similar situations and not found anything.
I have a 6.5.2 WP install with Solid Security basic 9.3.2. I’m trying to overhaul all the systems I manage for various orgs and this site has used iThemes/Solid for a long time with zero issues until now. In going to RHEL 8 and PHP 8.3.6, Solid is exhibiting weird behaviors without anything I can find logged in the php-fpm log, Apache error or syslog or when I enable debugging in WP.
The plugin installs, activates and all screens load; many of the features work (like alternate login page) but it will not detect an IP, so Site Scan doesn’t work and no configuration changes will save (I believe this has to do with REST API calls not working for some reason). At the same time, WP Statistics CAN detect the IP of my client, with no modification to the plugin — same host, same Apache config, same PHP version, it’s the same WP site so I don’t think this is really an OS or PHP issue (if one plugin with the same underlying platform can read the X-Forwarded-For, this one SHOULD be able to as well). This site is behind a DDoS mitigator so requests come in with an X-Forwarded-For header, but it’s been that way for years and Solid has worked fine. The only change has been a new OS and updated PHP. If I backrev to PHP 7.4.33, Solid again works.
I have dropped the database, done a completely clean install, and tested on 8.1, 8.2 and 8.3 with the same results, IP checking doesn’t work for Solid WP, so I’m convinced it isn’t my database or any other plugin (I’ve removed all other plugins and started my fresh WP install with zero other plugins before installing Solid, so it’s not another plugin). On a fully fresh install of Solid, after I select the type of site and get asked to enable Security Check Pro, click Next, nothing happens, and I can’t find an error in any log for this, either. I’
It feels very much to me like I’ve missed some critical Apache config flag, PHP setting (though my php.ini file is the same with 7.4.33 and 8.x) or some other simple, though apparently not obvious setting that is needful and I’m wearing a flat spot in my forehead hitting it against this wall. My clients are expecting me to get them updated to the most recent versions (or at least an n-1) and while I know 8.3 is still considered “beta” by WordPress at large, 8.1 is not, so I would have expected this to work under 8.1.
Anyone fought this and won or have any ideas on how I might get a log to spit out an error I can act upon?
TIA
The topic ‘PHP 8.3.6 IP Detection not working (no errors)’ is closed to new replies.