My website is not connecting.
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/site/web/site/public_html/conn.php:3 Stack trace: #0 /home//public_html/origin/index.php(147): include() #1 {main} thrown in /home/site/web/site/public_html/conn.php on line 3
<?php
$link = mysql_connect('localhost', 'user', 'pass')
or die('Unable to connect: ' . mysql_error());
mysql_select_db('database');
mysql_query("SET NAMES 'utf8'");
mysql_query('SET character_set_connection=utf8');
mysql_query('SET character_set_client=utf8');
mysql_query('SET character_set_results=utf8');
?>