Google has used HTTPS as a ranking signal since 2014, and Chrome marks plain HTTP pages as "Not secure". Today a working, modern HTTPS setup is simply expected. Visitors who see a security warning leave, and search engines notice when they do.
PHP itself doesn't usually handle your site's HTTPS connections; that is the web server's job (Apache, Nginx, IIS or LiteSpeed). But a server that is still running an old PHP version is almost always running an old operating system and an old copy of OpenSSL, the library that provides encryption. That is where the problems start.
TLS is the protocol behind HTTPS. TLS 1.0 and 1.1 were retired by all major browsers in 2020, so a server that only offers them shows visitors a full-page connection error instead of your website. TLS 1.2 is the minimum today, and TLS 1.3 is faster because it needs fewer round trips to set up a connection, which shaves time off every first visit.
TLS 1.3 needs OpenSSL 1.1.1 or newer. Servers built in the PHP 5 era typically shipped with OpenSSL 1.0.x or older, so they can never offer it, however well they are configured.
Old systems also carry old lists of trusted certificate authorities. When the Let's Encrypt DST Root CA X3 certificate expired in September 2021, many old servers suddenly couldn't verify perfectly valid certificates. Problems like this are fixed in new operating system and OpenSSL releases, which a server frozen on an old PHP version usually isn't getting.
This is where PHP is directly involved. When your website talks to other services (payment gateways, shipping rates, social logins, email services, plugin update servers, Google's own APIs), PHP makes those connections using its OpenSSL and cURL extensions. Most of those services now refuse anything older than TLS 1.2. The result can be broken checkouts, contact forms that silently stop sending and plugins that can no longer update, all of which hurt visitors and, eventually, your rankings.
www and non-www addresses, and renews automatically.If your server can't offer modern TLS, patching it rarely works well. The real fix is a modern stack, which usually comes with an up-to-date PHP version. Read our PHP upgrade guide, or if your host can't offer a current setup, see changing to a host that uses up-to-date PHP.
Back to Web SEO & Security Articles