PHP 5.4 to 7.4 migration

Job ID: 32940881

Budget: $10 – $30 CAD

Webhost has updated the server from PHP 5.4 to 7.4. the website shows the following error when I enable errors.

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home1/pctcarbi/public_html/lib/conn.php:6 Stack trace: #0 /home1/pctcarbi/public_html/top.php(5): require() #1 /home1/pctcarbi/public_html/index.php(1): include('/home1/pctcarbi...') #2 {main} thrown in /home1/pctcarbi/public_html/lib/conn.php on line 6

Looking to have someone fix this item.
Related categories: PHP Apache MySQL HTML