← Back to Download

Setup Guide — Self-Hosted Installation

Installing Wiki Hub

This guide walks you through a fresh installation of Wiki Hub on your own server (cPanel / Hostinger / any shared hosting with PHP 8 + MySQL).

Prerequisites

Step-by-step Installation

1 Download the install package

Download wikihub-install.zip from the button below, then extract it on your computer.

⬇ Download wikihub-install.zip

You'll get a folder containing php-server/, react-build/, and a root .htaccess.

2 Create a MySQL database

In your hosting control panel (cPanel, Hostinger hPanel, etc.):

  1. Go to Databases → MySQL Databases
  2. Create a new database (e.g. wikihub_db)
  3. Create a new user with a strong password
  4. Grant the user All Privileges on that database
  5. Note down: host (usually localhost), database name, username, password
3 Upload files to your server

Upload all extracted files into your domain's public_html folder (or subdomain root). Your folder structure should look like:

public_html/
  .htaccess
  php-server/
  react-build/
⚠ Upload to public_html/ directly — not inside a subfolder — unless you're installing on a subdomain.
4 Run the web installer

Open your browser and navigate to:

https://yourdomain.com/api/install.php

The installer will walk you through:

  1. Database credentials — host, name, user, password
  2. License activation — paste your License Key and License Token from the purchase email
  3. Owner account — your organisation name, name and email
✓ The installer self-deletes after successful setup for security.
5 Log in and configure

After installation, visit https://yourdomain.com and log in with the owner credentials you set in Step 4.

From Settings you can:

Troubleshooting

Blank page / 500 error

Check that .htaccess is uploaded and your host supports mod_rewrite. Enable AllowOverride All in your Apache config if self-managed.

Installer won't connect to database

Double-check the MySQL hostname — on some hosts it's 127.0.0.1 instead of localhost. Also confirm the user has been granted privileges on the database.

License activation fails

Make sure you're copying the full License Key and License Token with no leading/trailing spaces. Each license is tied to one domain — contact support if you need to transfer to a new server.

Emails not sending

Configure SMTP in php-server/.env: set SMTP_HOST, SMTP_USER, SMTP_PASS, SMTP_PORT, SMTP_FROM, and SMTP_FROM_NAME.