Xampp Synology

This procedure if for Synology NAS running DiskStation Manager (DSM) version 6.X.

Packages Installation

Unique configuration of each Tasmato Device Open the webserver of the module by enter the IP address in a browser Go to Configuration – Configure Other Set Friendly Name 1 to a custom name Enable MQTT, if you want to use it Save the configuration Go to Configuration – Configure. About the mysql Command-Line Client. Mysql (from MariaDB 10.4.6, also called mariadb) is a simple SQL shell (with GNU readline capabilities).It supports interactive and non-interactive use.

Xampp Synology Free

Open the DiskStation Manager interface. Use the Package Center to install the following packages (note they may already be installed):

  • Web Station
  • MariaDB 10
  • phpMyAdmin (only required for initial set-up of the database, may be removed once webtrees is running).
  • PHP (install the latest version available for your NAS, 7.3 being the minimum recommended version).

Webstation configuration

  1. In DSM, open “Web Station”.
  2. Click on “General Setting” and check which PHP profile is being used (“Default PHP 7.4” in the below example):
  3. Click on “PHP Settings” then select the the PHP profile used by Web Station:
  4. Edit the selected PHP profile, make sure
    • all extensions are activated in the Extensions list.
    • neither “Enable Xdebug” nor “Enable display_errors to display PHP error messages” are selected.
  5. Click “OK”.

MySQL/MariaDB configuration

Confirm MySQL/MariaDB server port

Xampp
  1. In DSM, open “MariaDB 10”.
  2. Check/confirm which port MariaDB is running on. Default is 3307.
Xampp

MariaDB user and database configuration

  1. In DSM, open “phpMyAdmin”, and log-in using a profile allowed to create databases and profiles/users (e.g. “root”).
  2. Click on “User account”, then click on “Add user account”:
  3. Choose the database sessings:
    • “User name” will be both the user name and the database name. Note it in order not to forget it!
    • “Host name” must be set to “localhost” for safety reasons.
    • Generating a complex/random password is recommended. Note it in order not to forget it!
    • Tick “Create database with same name and grant all privileges.”
  4. Click “Go” at the bottom right to generate both the user and its associated database.

Moving the files to your NAS

Xampp Synology Nas

  1. Having installed PHP >= 7.3, you can safely download the latest verion of webtrees.
  2. Unpack this file on your computer. You should have a folder called webtrees.
  3. On you NAS, open “File Station”, navigate to your web folder.
  4. Create a webtrees folder (or any other name) inside your .
  5. Drag and drop the content the webtrees folder on your computer in the webtrees folder created at step 4 (“File Station” supports multiple files and folders drag and drop).

Setting main folder rights

Xampp Synology Software

  1. Still in “File Station”, right click on the webtrees (or any other name) folder you created at step 4, then click on “Properties”. Click on the “Permission” tab.
  2. Click on “Create”, then fill the “Permission Editor” window (this will allow webtrees to automatically update):
    • User of group: http
    • Inherit from: <None>
    • Type: Allow
    • Apply to: All
    • Leave “Administration” unticked.
    • Do not select anything in “Administration” rights.
    • Select everything for “Read” rights.
    • Select everything but “Delete” for “Write” rights.
    • Once done click “OK”.
  3. Select “Apply to this folder, sub-folders and files”, then click “OK”.

Setting main folder rights

  1. Still in “File Station”, right click on the data sub-folder of your webtrees install folder, then click on “Properties”. Click on the “Permission” tab.
  2. Click on “Create”, then fill the “Permission Editor” window (this will allow webtrees to automatically update):
    • User of group: http
    • Inherit from:
    • Type: Allow
    • Apply to: All
    • Leave “Administration” unticked.
    • Do not select anything in “Administration” rights.
    • Select everything for “Read” rights.
    • Select everything for “Write” rights.
    • Once done click “OK”.
  3. Select “Apply to this folder, sub-folders and files”, then click “OK”.

Xampp Auf Synology Installieren

Configuring webtrees

Xampp Synology App

  1. Run the webtrees configuration wizard.
  2. Once at the “Database connection” step, enter the following settings:
    • Server name: 127.0.0.1
    • Port number: 3307
    • Database user account: the one you noted at step 3 of “MariaDB user and database configuration”.
    • Database password: the one you noted at step 3 of “MariaDB user and database configuration”.
    • Database name: identical to the database user account.
    • Table prefix: leave “wt_”
  3. Last step is to create the user account that will be used as your main Webtrees account.
Synology

Xampp Synology Download

Any question, post it on the webtrees Forum.