-
-
Notifications
You must be signed in to change notification settings - Fork 146
Home
Some documentation
Most current web servers with PHP & MySQL installed will be capable of running PHPNuxBill
Minimum Requirements
- Linux or Windows OS
- PHP Version 7.4 (PHP 8 not yet supported)
- 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
clone this repository or download zip or release
- Rename pages_template to pages
- Rename config.sample.php to config.php and make it writeable (chmod 777)
- make writeable folder ui/cache/ and ui/compiled
- Open web and run installation
- set cronjob or scheduller for system/cron.php
- make config.php unwriteable (chmod 644)
- Now go to Getting-Started
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
- Download project from Master Branch or from Release
- unzip and upload it to server
- Rename pages_template to pages
- Rename config.sample.php to config.php and make it writeable (chmod 777)
- make writeable folder ui/cache/ and ui/compiled
- Open web and run installation
- set cronjob or scheduller for system/cron.php
- make config.php unwriteable (chmod 644)
- Now go to Getting-Started
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
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)" class="btn btn-block btn-success">Register<a>
?nux-mac=$(mac-esc)&nux-ip=$(ip)
this will help user to auto login from User Dashboard