Everything else works great but when I try to change my active PHP version 7.1.20 to versions 7.2.* I get "Fatal error: Uncaught Error: Call to undefined function mysql_connect() in..." type of error when I visit local sites and a white screen. Then I revert back to 7.1.* versions and everything loads fine.
Is there a simple way to upgrade PHP without crashing WordPress installations?