PHP cron job error Call to undefined function mysql_connect()
I've had a php cron job set up to update a database value. It worked correctly, running daily at 1 PM until it began giving the following error, starting on June 2 (and every day since):
X-Powered-By: PHP/7.0.18
Content-type: text/html; charset=utf-8
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /(my script path)/cron/cleanup.php:2
I need the php script to be able to connect to my database to function correctly. What is needed to correct this behavior?
X-Powered-By: PHP/7.0.18
Content-type: text/html; charset=utf-8
Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /(my script path)/cron/cleanup.php:2
I need the php script to be able to connect to my database to function correctly. What is needed to correct this behavior?