• This repository has been archived on 31/May/2023
  • Stars
    star
    111
  • Rank 306,168 (Top 7 %)
  • Language
    PHP
  • Created about 11 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

FreeRADIUS server module for WHMCS

WHMCS Freeradius

Gitter

WHMCS 7.x

The refactor branch contains a work in progress rewrite for WHMCS 7.x

Installing

WHMCS
  • Create a folder called freeradius in WHMCSROOT/modules/servers/
  • Copy freeradius.php and clientarea.tpl into the newly created WHMCSROOT/modules/servers/freeradius folder
  • Copy freeradiusapi.php into the WHMCSROOT/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 and config.php.example into this folder

  • Rename config.php.example to config.php

  • Edit config.php as per your needs/requirements

  • Create a Cron task for the cron.php file. If your cron.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 running which php