Linux

Where Does LimeSurvey Store Uploads and Config?

LimeSurvey config file and upload folders for self-hosted survey installs on Linux servers. Plus migration notes.

Last updated

LimeSurvey keeps survey files in an upload folder inside the web root. Templates and response files land there per survey. That folder grows with file upload questions.

Settings live in application/config/config.php with database passwords. Responses themselves live in MySQL per that config. Back up uploads, the config file, and a database dump together for moves. Tokens gate survey access. Quotas cap responses per group. Export results as SPSS files. Panel integration syncs members. Reminders chase nonresponders.

Where LimeSurvey stores this, by platform

Linux
/var/www/limesurvey/upload

Survey file root with templates and upload subfolders. Serve with web user ownership. Copy whole tree with the database for migration.

Linux
/var/www/limesurvey/application/config/config.php

Database credentials and debug settings for the install. Restrict read access to the web user. Keep a copy off the server with dumps.

Frequently asked questions

what do i back up for a LimeSurvey move

Copy application/config/config.php with the upload folder and a MySQL dump. Responses live in the database. Files live in upload. The config ties them together.

where is the LimeSurvey database configured

Open application/config/config.php in the web root to read database host and credentials. Uploads stay in upload regardless. Keep the config private. Keep copies safe.

Notice an outdated path? Let us know.