User Guide · For admins

Installing BandHub

This chapter is for whoever sets BandHub up on your web hosting. It summarises the full installation guide that comes with BandHub.

Requirements

ComponentMinimumRecommended
PHP7.48.1 or newer (tested through 8.5)
DatabaseMariaDB 10.3 / MySQL 5.7MariaDB 10.6+
Web serverApache 2.4Apache 2.4 with mod_rewrite
PHP extensionspdo, pdo_mysql, fileinfoplus mbstring, openssl
Upload size8 MB20 MB or more (for scanned music)

1. Create the database

In phpMyAdmin or your hosting control panel, create a database (character set utf8mb4) and a database user with all privileges on it.

CREATE DATABASE bandhub CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;

2. Run the SQL files in order

Import each file from the sql_files folder, one at a time, in this order:

FileAdds
00_create_database.sqlThe database
01_accounts_module.sqlUsers, roles, modules, site settings, activity log
02_members_module.sqlMembers, sections, instruments, registration, ensembles
03_events_module.sqlEvents, venues, event types, ensembles, RSVPs, seating templates, audience counts, concert programs
04_comms_module.sqlAnnouncements, email, newsletters, ads, inquiries, contacts and threads, polls
05_library_module.sqlMusic library, lending, library programs, digital groups
06_finance_module.sqlFinance, including budgets
07_docs_module.sqlDocuments
These files are for new installs. To upgrade a site that is already running, back up the database first, then run only the update files you haven't run before — don't run these module files on it.

3. Upload the files

Upload the bandhub folder to your web root, so the address is yourband.org/bandhub. Include hidden files such as .htaccess. Make sure these folders are writable by the web server: comms/uploads, docs/uploads, finance/uploads and events/program_images.

4. Edit the configuration

Open includes/config.php and set:

5. First sign-in and setup

  1. Sign in as admin with the starting password from the installation guide, and choose a new password when asked.
  2. Switch off any modules you don't need under Module Management.
  3. Pick a theme.
  4. Fill in Finance Settings (organization name, fiscal year, dues).
  5. Add instruments and sections, then import or add your members.
  6. Create user accounts for your officers.