Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eksoverzero/whmcs-freeradius
FreeRADIUS server module for WHMCS
https://github.com/eksoverzero/whmcs-freeradius
Last synced: 15 days ago
JSON representation
FreeRADIUS server module for WHMCS
- Host: GitHub
- URL: https://github.com/eksoverzero/whmcs-freeradius
- Owner: eksoverzero
- Archived: true
- Created: 2013-04-16T11:30:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T22:15:35.000Z (over 6 years ago)
- Last Synced: 2024-07-03T06:33:39.790Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 58.6 KB
- Stars: 112
- Watchers: 21
- Forks: 79
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WHMCS Freeradius
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/secondimpression/whmcs-freeradius?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
## WHMCS 7.x
The [refactor](https://github.com/eksoverzero/whmcs-freeradius/tree/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`