GitHub - eksoverzero/whmcs-freeradius: FreeRADIUS server module for WHMCS
source link: https://github.com/eksoverzero/whmcs-freeradius
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
WHMCS Freeradius
WHMCS 7.x
The refactor branch contains a work in progress rewrite for WHMCS 7.x
Installing
WHMCS
- Create a folder called
freeradius
inWHMCSROOT/modules/servers/
- Copy
freeradius.php
andclientarea.tpl
into the newly createdWHMCSROOT/modules/servers/freeradius
folder - Copy
freeradiusapi.php
into theWHMCSROOT/include/api/
folder
FreeRADIUS servers
-
Create a folder anywhere with whatever name you like. For example, on Linux
mkdir /opt/whmcs-freeradius
-
Copy
cron.php
andconfig.php.example
into this folder -
Rename
config.php.example
toconfig.php
-
Edit
config.php
as per your needs/requirements -
Create a Cron task for the
cron.php
file. If yourcron.php
file is in/opt/whmcs-freeradius
then 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_PHP
by runningwhich php
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK