Hi there, First post here!
Installed a VM specifically for WHMCS to be linux based.
Installed LAMP server and then another version of PHP on top that was in date for WHMCS.
I have now set the whole system to use V 7.0 PHP.
In WHMCS manager I am getting the cron job error telling me it has not worked for 24 hours. As far as I am aware, it never has worked.
Cron job is this: (slightly edited to hide my domain name)
*/5 * * * * php -q /home/usrname/FOLDERNAME/crons/cron.php all >> /home/usrname/logfile.log 2>&1
I am using the custom cronjob folder and have linked it within PHP and the cron config file. Triple checked these. The last part of the cron is to output it to file to read the errors. This was needed due to the muliple versions of PHP that has since been cleared up. (ithink)
I did get IONcube loaders errors but cleared those up via fixing the php version in use by the system via this article:
https://tecadmin.net/switch-between-multiple-php-version-on-ubuntu/
This is in my log file:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_curl.dll' - /usr/lib/php/20151012/php_curl.dll: cannot op$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_gd2.dll' - /usr/lib/php/20151012/php_gd2.dll: cannot open shared$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_xmlrpc.dll' - /usr/lib/php/20151012/php_xmlrpc.dll: cannot open $
[WHMCS Application] ERROR: Whoops\Exception\ErrorException: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_xmlrpc.dll' - /usr$
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Oops!</title>
It then goes on to display the error page in html.
Also tried specifing the dir of PHP in the crontab and it didnt work either such as /etc/....../php.ini
That just gave me errors for not being able to load the curl extention and what not.
Any help would be much appreciated!
Thanks!