I think this problem started just after I upgraded from EA3 to EA4, but can't be sure.
My error_log shows this error:
PHP Fatal error: Call to undefined function mysqli_connect() in...
and
PHP Fatal error: Call to undefined function mysql_connect() in...
These errors are generated by 2 different cron jobs that I set on my cpanel account long ago and were working fine for years:
First cron:
and a similar one in the same directory.
I logged in to shell as root (it's a dedicated centos 6.9 server with WHM 66.0.23), and ran the same command as the command written in the cron:
My error_log shows this error:
PHP Fatal error: Call to undefined function mysqli_connect() in...
and
PHP Fatal error: Call to undefined function mysql_connect() in...
These errors are generated by 2 different cron jobs that I set on my cpanel account long ago and were working fine for years:
First cron:
Code:
php /home/XXXXX/public_html/admin/YYYYY.php >/dev/null 2>&1
I logged in to shell as root (it's a dedicated centos 6.9 server with WHM 66.0.23), and ran the same command as the command written in the cron:
Code:
[email protected] [/]# php /home/XXXXX/public_html/admin/YYYYY.php
Last edited: