Deployment guide for Windows Server

For internal-network demos and small deployments on Windows Server 2016+.

1. Prepare the components

  • IIS or Nginx for Windows
  • PHP 8.1+ (thread-safe build with pdo_mysql, mbstring, openssl and fileinfo enabled)
  • MySQL 5.7+ or MariaDB

2. Configure the site

  1. Point the site root at the selfhub directory.
  2. Add index.php to the default documents.
  3. Default values are fine for parameters such as PHP_FCGI_MAX_REQUESTS.

3. Directory permissions

Grant modify permission on the following directories to the account running PHP:

  • runtime/
  • uploads/
  • config/

4. Install

Open http://server-address/install.php to initialize the platform, then delete that file.

Linux is recommended for production; Windows suits internal demos and evaluation.
Copy a link to this page