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.
Login to cPanel, find “Select PHP Version”, click on it.
Go to the extensions.
Find mysqli and select/enable it.