Skip to content
iBNu Maksum edited this page Nov 22, 2023 · 15 revisions

Some documentation

System Requirements

Most current web servers with PHP & MySQL installed will be capable of running PHPNuxBill

Minimum Requirements

  • Linux or Windows OS
  • PHP Version 7.4 or above
  • Both PDO & MySQLi Support
  • GD2 Image Library
  • CURL support
  • MySQL Version 4.1.x and above

can be Installed in Raspberry Pi Device.

The problem with windows is hard to set cronjob, better Linux

Installation

Git Clone

clone this repository or download zip or release

  1. Rename pages_template to pages
  2. Rename config.sample.php to config.php and make it writeable (chmod 777)
  3. make writeable folder ui/cache/ and ui/compiled
  4. Open web and run installation
  5. set cronjob or scheduller for system/cron.php
  6. make config.php unwriteable (chmod 644)
  7. Now go to Getting-Started

Composer install

Go to directory you want to install Install Composer in your system

# Debian/Ubuntu
sudo apt install composer
# Centos/Redhat
sudo yum install composer

install on curent directory

composer create-project hotspotbilling/phpnuxbill .

install on new directory

composer create-project hotspotbilling/phpnuxbill phpnuxbill

Manual Installation

  1. Download project from Master Branch or from Release
  2. unzip and upload it to server
  3. Rename pages_template to pages
  4. Rename config.sample.php to config.php and make it writeable (chmod 777)
  5. make writeable folder ui/cache/ and ui/compiled
  6. Open web and run installation
  7. set cronjob or scheduller for system/cron.php
  8. make config.php unwriteable (chmod 644)
  9. Now go to Getting-Started

Docker installation

see this repo

UPGRADE

for old version, below Version 6, backup system/config.php, delete all file except folder pages, upload all new files, put config.php in root folder (not in system folder), got to folder /install and run Update.

for version 6 above, just replace all files, using filezilla can choose overwrite if different file size or time.

or git pull if you use git clone

Login Page Mikrotik

Customer need to register at PHPNuxBill, so you need to add link on Mikrotik Login page, just add anywhere this link on Mikrotik Login page, this link, change domain to your server IP or Domain.

<a href="http://domain/?nux-mac=$(mac-esc)&nux-ip=$(ip)&nux-router=1" class="btn btn-block btn-success">Register<a>

?nux-mac=$(mac-esc)&nux-ip=$(ip)&nux-router=1 this will help user to auto login from User Dashboard

nux-router is Optional, See mikrotik ID in Networks -> Routers, it will make Customer show only Package for that Router/Location

Clone this wiki locally