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.
- 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
- The latest version of Nginx ( >= 1.10.0 with HTTP/2 )
- The latest version of PHP
- The latest version of MariaDB ( >= 10 )
- Copy
_settings/phoenix.default.phpto_settings/phoenix.custom.php - Edit the variables in
_settings/phoenix.custom.php - Upload all the
.phpand.shfiles to your server. - Load
admin.phpin your browser and run theSetupoption.
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.
- Configure
_cron/hourly/backup-database.shby changing the path in the second line, and the username, password, database, and file in the last three. - Edit
_settings/phoenix.custom.phpand set$settings['clean_with_cron']totrueinstead offalse. You can also set$settings['clean_with_requests']to0to 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