Phoenix
Phoenix copied to clipboard
A lightweight BitTorrent Tracker written in PHP with an SQL backend.
Phoenix v.3.1.5
A lightweight BitTorrent Tracker written in PHP, with an SQL backend, for people that just want to host a tracker, not the torrent listing site.
Installation
What Do You Need?
Required
- A PHP compatible web-server.
- PHP >= 5.4.0 with Core, SimpleXML, date, filter, json, mysqli, pcre, & standard extensions. (Generated using PHP CompatInfo
- A MySQLI supported database, such as MySQL >= 4.1
Recommended
- The latest version of Nginx ( >= 1.10.0 with HTTP/2 )
- The latest version of PHP
- The latest version of MariaDB ( >= 10 )
Install Guide
- Copy
_settings/phoenix.default.php
to_settings/phoenix.custom.php
- Edit the variables in
_settings/phoenix.custom.php
- Upload all the
.php
and.sh
files to your server. - Load
admin.php
in your browser and run theSetup
option.
Configuration
Configuration should take place in _settings/phoenix.custom.php
, NOT _settings/phoenix.default.php
. Phoenix will attempt to use the default configuration if yours is missing.
Cron (Automating Maintenance)
- Configure
_cron/hourly/backup-database.sh
by changing the path in the second line, and the username, password, database, and file in the last three. - Edit
_settings/phoenix.custom.php
and set$settings['clean_with_cron']
totrue
instead offalse
. You can also set$settings['clean_with_requests']
to0
to save processing time. - Edit your crontab with
crontab -e
, and add a crontab like the following. You can edit the times, and should make sure the paths are correct by running the commands after the asteriks.
15 * * * * php ~/phoenix/_cron/hourly/clean-and-optimize.php
30 * * * * ~/phoenix/_cron/hourly/backup-database.sh