LimeSurvey is a free and open source survey web application.


For this guide you should be familiar with the basic concepts of


LimeSurvey software is licenced under the GPLv2.


We’re using PHP in the stable version 7.1:

[isabell@stardust ~]$ uberspace tools version show php
Using 'PHP' version: '7.1'
[isabell@stardust ~]$

You’ll need your MySQL credentials. Get them with my_print_defaults:

[isabell@stardust ~]$ my_print_defaults client
[isabell@stardust ~]$

Your survey URL needs to be setup:

[isabell@stardust ~]$ uberspace web domain list
[isabell@stardust ~]$


Download archive

Visit LimeSurvey’s stable release page and copy the .tar.gz download link. Then, cd to your DocumentRoot and use wget to download the file. Make sure to replace the dummy URL with the one you just copied.

[isabell@stardust ~]$ cd /var/www/virtual/$USER/html/
[isabell@stardust html]$ wget -O limesurvey.tar.gz
2018-10-02 16:01:50 (10.0 MB/s) - ‘stable-release?download=4711:limesurvey4711%20180926targz’ saved [72359513/72359513]
[isabell@stardust html]$

Extract archive

[isabell@stardust html]$ tar -xzf limesurvey.tar.gz --strip-components=1
[isabell@stardust html]$


Point your browser to your domain (e.g. and use the installer to set up your database and admin user account.

We recommend to use a new database such as isabell_limesurvey for LimeSurvey.

Edit .htaccess

The default .htaccess includes a RewriteCond so that existing directories won’t be rewritten, but for some reason it is commented out:

#RewriteCond %{REQUEST_FILENAME} !-d

Edit the .htaccess file and uncomment the line above, so the full .htaccess file should look like this:

<IfModule mod_rewrite.c>
    RewriteEngine on

    # if a directory or a file exists, use it directly
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    # otherwise forward it to index.php
    RewriteRule . index.php

    # deny access to hidden files and directories except .well-known
    RewriteCond %{REQUEST_URI} !^/\.well-known
    RewriteRule ^(.*/)?\.+ - [F]

# deny access to hidden files and directories without mod_rewrite
RedirectMatch 403 ^/(?!\.well-known/)(.*/)?\.+

# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on

Best practices



Check the update feed regularly to stay informed about the newest version.

When a new version is released, copy the download link and download it as above, but exclude /application/config/config.php and /upload/* when extracting the archive.

[isabell@stardust ~]$ cd /var/www/virtual/$USER/html/
[isabell@stardust html]$ wget -O limesurvey.tar.gz
[isabell@stardust html]$ tar -xzf limesurvey.tar.gz --strip-components=1 --overwrite  --exclude '/application/config/config.php' --exclude '/upload/*'
[isabell@stardust html]$

Tested with LimeSurvey 3.14.11+180926, Uberspace

Written by: Nico Graf <>