This is mostly just a note to self. As I mentioned previously (probably more than once), I very much dislike systemd and will stick with CentOS 6 for as long as possible. Having said that, WordPress dashboard has been nagging me about having to update PHP. So here we go.

I had PHP 5.6w from webtatic repo and now I need to install version 7.1u from the repo. The first step, as I’ve learned, should’ve been updating all the WordPress plugins, especially if you haven’t done that in a while. This is what I did for PHP version update:

And that did it. It also broke one my older WordPress sites: the mysql_get_server_info function has been removed from PHP 7 for security reasons. You can find the plugins that may use this function like so:

Go through the list, rename the plugin folder, see if that restored access to the site. If not, rename it back and continue until you find the culprit.