php – update php5 to php7 with both versions on the system

I know it's a silly question, but I did a little research to see if I could find an effective solution, but all my subsequent attempts at tutorials were a mistake. In this case, I have both versions of PHP (5 and 7.0) and I need to transfer the sites from 5 to 7 to access it via a browser using php version 7 only (I will uninstall php5)