Table of Contents
Call to undefined function mysql_connect() Error:
Website seems down when I tried to open backend. Both backend and website was showing fatal error since morning time. This was because I am using server PHP version above 7.3.
Solution: To resolveĀ this issue I had enabled mysqli extension and then caught error issue resolved.
Step 1:
Login to cPanel, find “Select PHP Version”, click on it.
Step 2:
Go to the extensions.

Extensions for PHP
Step 3:
Find mysqli and select/enable it.