The refactor branch contains a work in progress rewrite for WHMCS 7.x
- Create a folder called
freeradiusinWHMCSROOT/modules/servers/ - Copy
freeradius.phpandclientarea.tplinto the newly createdWHMCSROOT/modules/servers/freeradiusfolder - Copy
freeradiusapi.phpinto theWHMCSROOT/include/api/folder
-
Create a folder anywhere with whatever name you like. For example, on Linux
mkdir /opt/whmcs-freeradius -
Copy
cron.phpandconfig.php.exampleinto this folder -
Rename
config.php.exampletoconfig.php -
Edit
config.phpas per your needs/requirements -
Create a Cron task for the
cron.phpfile. If yourcron.phpfile is in/opt/whmcs-freeradiusthen your cron task shold look something like this, if you want it to run every 5 minutes:*/5 * * * * PATH_TO_PHP/php -q /opt/whmcs-freeradius/cron.php -
On Linux, you can find the
PATH_TO_PHPby runningwhich php