PHP is a mess + cronjobs

Pacific Spirit

Verified User
Joined
Jan 15, 2021
Messages
56
Location
Netherlands
Hello,

I am using WHMCS on directadmin and the installation was perfectly! Unfortunately due a issue in that directadmin system is the PHP version selection completely buggy and completely wrong coded by directadmin, also a lot of programs are bugged anyway, WHMCS asked me to set in the cronjobs. I asked WHMCS and they say that the problem occurs in DirectAdmin, why won't the PHP in damn way not change, because if I set it to PHP 7.3 or higher, WHMCS still says: Your PHP version 7.2.34 is supported by WHMCS. this is so crap by directadmin that WHMCS cannot locate the correct PHP version.
Cron Invocation Frequency
Secondary is indeed the cronjob. I have a Warning my by automatically runs of the cron but I have following the full troubleshoot of WHMCS with this dump cronjob, for some reason it just stopped and this is very annoying. Any idea why DA messing up WHMCS? Is DA so bad coded or so? I don't hope but it looks like.
 
WHMCS works perfectly fine on DA. If you want WHMCS to detect the php correctly then whatever version you want must be the first one. If not then you will need to specify the location of php within WHMCS.
 
If you have set_php_bin_path_in_crons=0 in directadmin.conf it is normal full path to php needs to be defined.
 
Okay, I have did it but it has no changes after I rebooted the server self. But any idea why the filemanager is slow? When I enter a text it had a delay responding of 2 seconds before something shows as text.
 
Okay, I have did it but it has no changes after I rebooted the server self. But any idea why the filemanager is slow? When I enter a text it had a delay responding of 2 seconds before something shows as text.
You'd need to re-save the cronjob, change PHP version or execute this after the change:
Code:
cd /usr/local/directadmin echo "action=rewrite&value=httpd&user=fred" > data/task.queue.cb; ./dataskq d1000 --custombuild

Regarding slow file manager - try disabling automatic folder disk space count.
 
Back
Top