Rosetta 2 is the "invisible" system software which allows Apple's new Apple silicon (M1, M2, M3, etc) based Macs to run Intel software. It should be installed by default, but sometimes it isn't for some reason. If you can't run older Intel programs this is probably why. Install it from the terminal using this command:
Warning: mysqli_connect(): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 35
Warning: mysqli_connect(): Error while reading greeting packet. PID=99218 in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 35
Warning: mysqli_connect(): (HY000/2006): MySQL server has gone away in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 35
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /Library/WebServer/Documents/Owen2/Inc/Footer.inc.php on line 36
Could not connect to MySQL: