Actions

Installation - LimeSurvey CE/nl: Difference between revisions

From LimeSurvey Manual

(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages />
<languages />


<div class="simplebox">Let op: Deze pagina is voor de installatie vanaf versie 2.0. De pagina voor versie 1.92 staat [[Installation Version 1.92 or older/nl|hier]]. De instructies voor een upgrade staan [[Upgrading from a previous version/nl|hier]].</div>
<div class="simplebox"> Note: These installation instructions are for version 2.0 or later. Older instructions for 1.92 can be found [[Installation Version 1.92 or older|here]] and update instructions can be found [[Upgrading from a previous version|here]]. </div>


=Algemeen=
=Algemeen=
Line 8: Line 8:
*On your webserver:<br />In that case just follow the instructions on this page starting with step 1.
*On your webserver:<br />In that case just follow the instructions on this page starting with step 1.


*On your local Windows PC:<br />You usually only want to install LimeSurvey on your local PC if you want to create surveys locally (mainly for speed or development/test reasons) and upload them later to your live LimeSurvey installation on a web server. For this we have prepared a special package for LimeSurvey which includes the web server, the database and the LimeSurvey application and [[Installation of the LimeSurvey XAMPP package|instructions how to install it]].
*On your local Windows PC:<br />You usually only want to install LimeSurvey on your local PC if you want to create surveys locally (mainly for speed or development/test reasons) and upload them later to your live LimeSurvey installation on a web server. We have prepared for this a special package for LimeSurvey which includes the web server, the database and the LimeSurvey application and [[Installation of the LimeSurvey XAMPP package|instructions how to install it]].


=Controleren of je LimeSurvey op je website kunt gebruiken=
=Controleren of je LimeSurvey op je website kunt gebruiken=
Line 14: Line 14:
Controleer of de instellingen op de server voldoen aan de volgende eisen. Dit wordt grotendeels ook tijdens de installatie gecheckt.
Controleer of de instellingen op de server voldoen aan de volgende eisen. Dit wordt grotendeels ook tijdens de installatie gecheckt.


Vereist:
{{Note|The minimum set of requirements will also be checked during the installation process!}}
* Minimaal 180Mb beschikbaar
* MySQL 5.5.3 of later '''OF''' Microsoft SQL Server 2005 of later '''OF''' Postgres 9 of later
* PHP 5.3.3 of later (aanbevolen minstens 5.5) met de volgende modules en bibliotheken actief:
** mbstring (zie ook: [[Installation FAQ/nl#Wat is de mbstring (Multibyte String Functions) bibliotheek?|Installatie FAQ]])
** PDO database driver voor MySQL (pdo_mysql of pdo_mysqli) of Postgres (pdo_pgsql) of MSSQL ([http://php.net/manual/en/ref.pdo-sqlsrv.php pdo_sqlsrv] voor Windows en [http://www.php.net/manual/en/ref.pdo-dblib.php pdo_dblib] voor Linux)
** Verder alle default bibliotheken (hash, session etc.)


<div class="simplebox">Let erop dat LimeSurvey 2.x andere database drivers dan 1.x gebruikt. Als je de mededeling krijgt dat er geen DBO-driver is gevonden, neem dan contact op met je webhoster en vraag of ze deze kunnen activeren.</div>
The minimum set of requirements:
* Minimum 180 MB disk space
* MySQL 5.5.3 or later '''OR''' Microsoft SQL Server 2005 or later '''OR''' Postgres 9 or later
* Minimum PHP 5.3.3 or later, however we recommend PHP 5.5.x or later with the following modules/libraries enabled:
** mbstring (Multibyte String Functions) extension library (see also [[Installation FAQ#What is this mbstring (Multibyte String Functions) library?|Installation FAQ]])
** PDO database driver for MySQL (pdo_mysql or pdo_mysqli) or Postgres (pdo_pgsql) or MSSQL ([https://php.net/manual/en/ref.pdo-sqlsrv.php pdo_sqlsrv] for Windows and [http://www.php.net/manual/en/ref.pdo-dblib.php pdo_dblib] for Linux)
** Also, we assume in general that all PHP default libraries are enabled (like hash, session, etc.).
 
<div class="simplebox"> Note: LimeSurvey 2.x uses different database drivers than 1.x . If you get a message not No DBO driver was found during the installation, you will have to contact your webspace provider and ask them to activate one of the aforementioned database driver libraries. </div>


<div class="simplebox"> NB.: Als je in Linux een verbinding maakt met een MSSQL database op een Windows-server met gebruik van dblib PDO-driver, dan moet de onderliggende FreeTDS goed ingesteld zijn. Lees de pagina [[Troubleshooting/nl|Problemen oplossen]] voor meer informatie.</div>
<div class="simplebox"> NB.: Als je in Linux een verbinding maakt met een MSSQL database op een Windows-server met gebruik van dblib PDO-driver, dan moet de onderliggende FreeTDS goed ingesteld zijn. Lees de pagina [[Troubleshooting/nl|Problemen oplossen]] voor meer informatie.</div>


Optionele PHP Extensies:
Optional PHP Extensions:
* '''GD-Library met FreeType support''' voor captcha's of grafieken in de statistieken. (zie ook:  [http://php.net/manual/image.setup.php PHP GD-Library Extensie documentatie])
* '''GD-Library''' '''with FreeType support''' installed is needed for captchas or nice charts in statistics - see [https://php.net/manual/image.setup.php PHP GD-Library Extension documentation]
* '''IMAP''' (redelijk standaard) voor de [[Email bounce tracking system/nl|Niet verzonden e-mail]]. (zie ook:  [http://php.net/manual/imap.setup.php PHP IMAP Extensie documentatie])
* '''IMAP''' (pretty standard) is needed for the [[Email bounce tracking system]] - see [https://php.net/manual/imap.setup.php PHP IMAP Extension documentation]
* '''LDAP''' voor het importeren van tokens via LDAP. zie ook: [http://php.net/manual/en/ldap.installation.php PHP LDAP Documentatie]
* '''LDAP''' installed is needed to import tokens using LDAP - see [https://php.net/manual/en/book.ldap.php PHP LDAP Documentation]
* '''Zip''' (redelijk standaard) voor het uploaden van templates en het importeren van bronbestanden. (zie ook: [http://php.net/manual/zip.setup.php PHP Zip Extensie documentatie])
* '''Zip''' (pretty standard) for template upload and import resources Zip archives - see [https://php.net/manual/zip.setup.php PHP Zip Extension documentation]
* '''Zlib''' (redelijk standaard) voor de [[ComfortUpdate/nl|ComfortUpdate]] (zie ook: [http://php.net/manual/zlib.setup.php PHP Zlib Extensie documentatie])
* '''Zlib''' (pretty standard) is needed for the [[ComfortUpdate]] - see [https://php.net/manual/zlib.setup.php PHP Zlib Extension documentation]


In de meeste gevallen kan je webhoster je helpen om deze componenten te activeren.
In most cases, your webspace provider or system administrator will be able to help you out on these optional components.


Als je LimeSurvey op een Microsoft IIS server wilt draaien, kijk dan bij "[[Installation on XP with IIS|Installatie op XP met IIS]]".
If you want to run Microsoft's IIS server, taking a look at "[[Installation on XP with IIS]] might also help.


===Webbrowser compatibiliteit===  
===Browser compatibility===
Bij het invullen van de enquête ondersteunen we IE9 en alle nieuwere vergelijkbare webbrowsers  zoals Firefox, Chrome, Opera, ... met JavaScript ingeschakeld.
'''For the survey-taking side''', we currently support IE9 and all newer comparable browsers like FF, Chrome, Opera, etc. with activated JavaScript.
Voor het beheergedeelte ondersteunen we IE11 en alle nieuwere vergelijkbare webbrowsers zoals Firefox, Chrome, Opera, ... met JavaScript ingeschakeld.
'''For the administration part''', we currently support IE11 and all newer comparable browsers like FF, Chrome, Opera, etc. with activated JavaScript.
We ondersteunen geen enkele versie van Internet Explorer die uitgevoerd wordt in intranet-mode of compatibiliteitsmode!
We do not support any IE version running in Intranet-mode or Compatibility-mode!


==Screen sizes==
==Screen sizes==
We support any reasonable screen size for survey taking (360px x 640px and up).
We support any reasonable screen size for survey taking (360px x 640px and up).
For the LimeSurvey administration the minimum screen resolution supported is 1280px x 1024px.
The minimum supported screen resolution for the LimeSurvey administration page is 1280px x 1024px.


==Hosting van LimeSurvey==
==Hosting van LimeSurvey==


LimeSurvey should work with most hosting companies which provide PHP and MYSQL. If you want a ready-installed version of LimeSurvey consider using [https://www.limesurvey.org/component/limeservice/?view=limeservice&task=limeservice.routeAlternatives LimeSurvey Professional], else check out our [[LimeSurvey-compatible hosting companies|list of LimeSurvey-compatible hosting companies]].
LimeSurvey should work with most hosting companies that provide PHP and MYSQL. If you want a ready-installed version of LimeSurvey, you could try [https://www.limesurvey.org/editions-and-prices/limesurvey-pro/editions-and-prices-professional LimeSurvey Professional], else check out our [[LimeSurvey-compatible hosting companies|list of LimeSurvey-compatible hosting companies]].


=Download LimeSurvey=
=Download LimeSurvey=
Line 56: Line 58:
=Uitpakken van LimeSurvey-download=
=Uitpakken van LimeSurvey-download=


Pak het bestand uit in een map. Gebruik hiervoor je favoriete software. Check bij het uitpakken dat je de mapstructuur mee uitpakt (gebeurt meestal vanzelf). Het pad mag geen haakjes, maar wel spaties bevatten.
Uncompress the zip file into a dedicated directory/folder using your preferred compression software. When you uncompress the file make sure that you uncompress the directory structure with the files (this is default behavior for most compression programs). The path name for the installation directory should not include '''(''' or ''')''' special characters, but may include the '''space''' character.


=Informatie over de server verzamelen=
=Informatie over de server verzamelen=


Noteer de volgende zaken voordat je LimeSurvey gaat installeren op de webserver:
You will need to know the following things to install LimeSurvey on your web server correctly:
* Het webadres waar de scripts bereikbaar zijn(voorbeeld: ''http://mijn.domein.nl/limesurvey'')
*Your intended website URL where your scripts will reside (e.g: ''http://my.domain.com/limesurvey'')
* De fysieke locatie waar de scripts staan (voorbeeld: ''/home/usr/htdocs/limesurvey'')
*The physical disk location on your server where your scripts will reside (e.g.: ''/home/usr/htdocs/limesurvey'')
* De IP/netlocatie van de databaseserver (voorbeeld: ''localhost'')
*The IP/net location of your database server (ie: ''localhost'')
* De poort waarop de databaseserver zit, als dat een niet-standaardpoort is
*If your database server uses a non-standard port, find out which port it is.
* Naam en wachtwoord van de databaseserver
*Your user name and password for your database server
 
*With most providers you can't let the script create the database, but have to do it yourself. If you are using such a provider, please create a database (for example ''limesurvey'') yourself.
De meeste webhosters laten een installatie niet een database aanmaken op de server. Maak in dat geval zelf een database aan (bijvoorbeeld ''limesurvey'')


=De bestanden uploaden op de webserver=
=De bestanden uploaden op de webserver=
Line 73: Line 74:
Met behulp van je favoriete FTP programma maak je verbinding met de webserver. Maak hierin een directory of map aan. Check of je de bestanden "in binaire modus" gaat uploaden (instellingen in het FTP programma). Als je in ASCII-mode gaat uploaden zullen plaatjes niet werken, en mogelijk ook de code niet. Upload de bestanden zoals ze in de mapstructuur staan.
Met behulp van je favoriete FTP programma maak je verbinding met de webserver. Maak hierin een directory of map aan. Check of je de bestanden "in binaire modus" gaat uploaden (instellingen in het FTP programma). Als je in ASCII-mode gaat uploaden zullen plaatjes niet werken, en mogelijk ook de code niet. Upload de bestanden zoals ze in de mapstructuur staan.


=Rechten goed zetten=
=Set directory permissions=


Om de scripts goed te laten werken moeten de rechten op de directories goed staan: dat geldt vooral bij Linux/*nix-systemen.
For the script to work properly it needs certain access to some directories - this applies especially to Linux/*nix systems.
* De '''"/limesurvey/tmp"''' directory en alle onderliggende directories en bestanden worden gebruikt voor het importeren en uploads, en moeten dus een "Lees & Schrijf"-permissie hebben.
*The '''"/limesurvey/tmp"''' directory (and all its subdirectories and files) are used for imports & uploads and should be set to ''Read & Write'' for your webserver.
* De '''"/limesurvey/upload/"''' directory en alle onderliggende directories en bestanden worden ook gebruikt voor uploads, en moeten dus een "Lees & Schrijf"-permissie hebben.
*The '''"/limesurvey/upload/"''' directory (and all its subdirectories and files) must also have ''Read & Write'' for your webserver in order to enable picture and media files upload.
* De '''"/limesurvey/application/config/"''' directory moet ook een "Lees & Schrijf" permissie hebben.
*The '''"/limesurvey/application/config/"''' directory also needs ''Read & Write'' permissions for your webserver.
* Alle overige directories kunnen af met alleen  een "Lees"-permissie. Dit geldt vooral voor alle bestanden in de '''"/limesurvey/admin"''' directory.
*The other directories can be set to ''Read Only''. You may wish in Linux/Unix to set the permissions on each file within the /limesurvey/admin directory to ''Read Only''.


{{Hint|Text=Op Linux-systemen kun je afhankelijk van de webserver de rechten instellen. Voor Apache HTTPD op CentOS gebruik je '''chmod -R 755 <directory> ; chown -R apache <directory>'''. Iedereen heeft dan leesrechten, en de webserver schrijfrechten. Lees voor meer informatie over rechten op Linux http://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions.}}
{{Alert|If you are using Linux, then setting permissions depends on your webserver configuration. For example, if you use Apache HTTPD on CentOS, type '''chmod -R 755 <directory> ; chown -R apache <directory>'''. This will give everyone access to read, and your webserver will have the permission to write. Check the [https://www.linux.com/learn/tutorials/309527-understanding-linux-file-permissions following link] for more information on Linux permissions.}}


=Een databasegebruiker aanmaken=
=Een databasegebruiker aanmaken=


LimeSurvey zal een database inclusief de structuur willen maken. Daarvoor heeft het een gebruikersnaam en wachtwoord nodig van een database gebruiker. We raden aan een gebruiker aan te maken met de volgende rechten:
LimeSurvey will create a database and the tables inside it. To be able to do this, it will need the user name and password of a database user. We generally recommend to create a database user with the following permissions:


- MySQL: SELECT, CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, INDEX
- MySQL: SELECT, CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, INDEX
Line 95: Line 96:
=Het installatiescript starten=
=Het installatiescript starten=


Open je favoriete browser en ga naar '''"http://mijn.domein.nl/limesurvey/admin"'''. Als alles goed staat, start de installer nu. Volg de instructies: er wordt je gevraagd een database aan te maken. Daarna zal LimeSurvey de databasestructuur aanmaken.
'''Go to "http://www.example.com/limesurvey/admin"'''. If you configured everything correctly, the LimeSurvey installer should be starting - just follow the instructions. You will be asked if to create the database and/or create the tables inside the database. LimeSurvey will then create the needed tables in the database.


=Het beheerscript voor het eerst opstarten=
=Het beheerscript voor het eerst opstarten=
Line 101: Line 102:
Nadat de installer gedraaid heeft ben je klaar! Ga in je browser naar het administratie-gedeelte van LimeSurvey. Als je "limesurvey" als mapnaam hebt gebruikt, wordt dat iets als "http://mijn.domein.nl/limesurvey/admin".
Nadat de installer gedraaid heeft ben je klaar! Ga in je browser naar het administratie-gedeelte van LimeSurvey. Als je "limesurvey" als mapnaam hebt gebruikt, wordt dat iets als "http://mijn.domein.nl/limesurvey/admin".


Nu zou je een loginscherm moeten zien. De standaardinlog (als je die niet zelf aangepast hebt tijdens de installatie)
You should get a login screen. The default login credentials (if not changed during the installation) are:




Line 116: Line 117:
=Problemen=
=Problemen=


Zoals alle applicaties werkt het altijd als je de instructies maar volgt. Maar soms ook niet, de redenen zijn te divers om er hier op in te gaan. Bekijk daarom bij problemen eerst even de [[Installation FAQ/nl|Installatie FAQ]]. Mocht daar het antwoord niet staan, plaats dan je probleem en de foutmelding(en) in het [https://www.limesurvey.org/forum LimeSurvey forum] op limesurvey.org of ga naar het [irc://irc.freenode.net/limesurvey LimeSurvey IRC channel]:
Like all computer programs, most of the time things will work just like the instructions say, but sometimes they just won't. There are too many possible reasons for things not going according to plan to describe here. If you have trouble, first check out the [[Installation FAQ]]. If you don't find your answer there, please post your problem and any error messages in the [https://www.limesurvey.org/forum LimeSurvey forums], open a [https://www.limesurvey.org/contact-us support ticket], or join the [irc://irc.freenode.net/limesurvey|LimeSurvey IRC channel]:


<div class="simplebox"><center>'''[https://www.limesurvey.org/community-services/live-chat Directe link naar het officiële LimeSurvey IRC Channel]'''</center></div>
<div class="simplebox"><center>'''[https://www.limesurvey.org/community-services/live-chat Directe link naar het officiële LimeSurvey IRC Channel]'''</center></div>

Revision as of 17:30, 2 August 2017

Note: These installation instructions are for version 2.0 or later. Older instructions for 1.92 can be found here and update instructions can be found here.

Algemeen

The LimeSurvey project provides two ways to install LimeSurvey:

  • On your webserver:
    In that case just follow the instructions on this page starting with step 1.
  • On your local Windows PC:
    You usually only want to install LimeSurvey on your local PC if you want to create surveys locally (mainly for speed or development/test reasons) and upload them later to your live LimeSurvey installation on a web server. We have prepared for this a special package for LimeSurvey which includes the web server, the database and the LimeSurvey application and instructions how to install it.

Controleren of je LimeSurvey op je website kunt gebruiken

Controleer of de instellingen op de server voldoen aan de volgende eisen. Dit wordt grotendeels ook tijdens de installatie gecheckt.

The minimum set of requirements will also be checked during the installation process!

The minimum set of requirements:

  • Minimum 180 MB disk space
  • MySQL 5.5.3 or later OR Microsoft SQL Server 2005 or later OR Postgres 9 or later
  • Minimum PHP 5.3.3 or later, however we recommend PHP 5.5.x or later with the following modules/libraries enabled:
    • mbstring (Multibyte String Functions) extension library (see also Installation FAQ)
    • PDO database driver for MySQL (pdo_mysql or pdo_mysqli) or Postgres (pdo_pgsql) or MSSQL (pdo_sqlsrv for Windows and pdo_dblib for Linux)
    • Also, we assume in general that all PHP default libraries are enabled (like hash, session, etc.).
Note: LimeSurvey 2.x uses different database drivers than 1.x . If you get a message not No DBO driver was found during the installation, you will have to contact your webspace provider and ask them to activate one of the aforementioned database driver libraries.
NB.: Als je in Linux een verbinding maakt met een MSSQL database op een Windows-server met gebruik van dblib PDO-driver, dan moet de onderliggende FreeTDS goed ingesteld zijn. Lees de pagina Problemen oplossen voor meer informatie.

Optional PHP Extensions:

In most cases, your webspace provider or system administrator will be able to help you out on these optional components.

If you want to run Microsoft's IIS server, taking a look at "Installation on XP with IIS might also help.

Browser compatibility

For the survey-taking side, we currently support IE9 and all newer comparable browsers like FF, Chrome, Opera, etc. with activated JavaScript. For the administration part, we currently support IE11 and all newer comparable browsers like FF, Chrome, Opera, etc. with activated JavaScript. We do not support any IE version running in Intranet-mode or Compatibility-mode!

Screen sizes

We support any reasonable screen size for survey taking (360px x 640px and up). The minimum supported screen resolution for the LimeSurvey administration page is 1280px x 1024px.

Hosting van LimeSurvey

LimeSurvey should work with most hosting companies that provide PHP and MYSQL. If you want a ready-installed version of LimeSurvey, you could try LimeSurvey Professional, else check out our list of LimeSurvey-compatible hosting companies.

Download LimeSurvey

Download de laatste stabiele versie van de LimeSurvey. Er zijn zip, gzip, bz2 en 7zip-bestanden beschikbaar. Sla de download op.

Uitpakken van LimeSurvey-download

Uncompress the zip file into a dedicated directory/folder using your preferred compression software. When you uncompress the file make sure that you uncompress the directory structure with the files (this is default behavior for most compression programs). The path name for the installation directory should not include ( or ) special characters, but may include the space character.

Informatie over de server verzamelen

You will need to know the following things to install LimeSurvey on your web server correctly:

  • Your intended website URL where your scripts will reside (e.g: http://my.domain.com/limesurvey)
  • The physical disk location on your server where your scripts will reside (e.g.: /home/usr/htdocs/limesurvey)
  • The IP/net location of your database server (ie: localhost)
  • If your database server uses a non-standard port, find out which port it is.
  • Your user name and password for your database server
  • With most providers you can't let the script create the database, but have to do it yourself. If you are using such a provider, please create a database (for example limesurvey) yourself.

De bestanden uploaden op de webserver

Met behulp van je favoriete FTP programma maak je verbinding met de webserver. Maak hierin een directory of map aan. Check of je de bestanden "in binaire modus" gaat uploaden (instellingen in het FTP programma). Als je in ASCII-mode gaat uploaden zullen plaatjes niet werken, en mogelijk ook de code niet. Upload de bestanden zoals ze in de mapstructuur staan.

Set directory permissions

For the script to work properly it needs certain access to some directories - this applies especially to Linux/*nix systems.

  • The "/limesurvey/tmp" directory (and all its subdirectories and files) are used for imports & uploads and should be set to Read & Write for your webserver.
  • The "/limesurvey/upload/" directory (and all its subdirectories and files) must also have Read & Write for your webserver in order to enable picture and media files upload.
  • The "/limesurvey/application/config/" directory also needs Read & Write permissions for your webserver.
  • The other directories can be set to Read Only. You may wish in Linux/Unix to set the permissions on each file within the /limesurvey/admin directory to Read Only.
  If you are using Linux, then setting permissions depends on your webserver configuration. For example, if you use Apache HTTPD on CentOS, type chmod -R 755 <directory> ; chown -R apache <directory>. This will give everyone access to read, and your webserver will have the permission to write. Check the following link for more information on Linux permissions.


Een databasegebruiker aanmaken

LimeSurvey will create a database and the tables inside it. To be able to do this, it will need the user name and password of a database user. We generally recommend to create a database user with the following permissions:

- MySQL: SELECT, CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, INDEX

- PostgreSQL: SELECT, INSERT, UPDATE, DELETE, TRUNCATE, TRIGGER

- Microsoft SQL Server: Onbekend, indien u dit weet, vult dit dan a.u.b. toe.

Het installatiescript starten

Go to "http://www.example.com/limesurvey/admin". If you configured everything correctly, the LimeSurvey installer should be starting - just follow the instructions. You will be asked if to create the database and/or create the tables inside the database. LimeSurvey will then create the needed tables in the database.

Het beheerscript voor het eerst opstarten

Nadat de installer gedraaid heeft ben je klaar! Ga in je browser naar het administratie-gedeelte van LimeSurvey. Als je "limesurvey" als mapnaam hebt gebruikt, wordt dat iets als "http://mijn.domein.nl/limesurvey/admin".

You should get a login screen. The default login credentials (if not changed during the installation) are:


Gebruikersnaam: admin
Wachtwoord: password


Daarna word je gevraagd om het wachtwoord te wijzigen. Veel plezier!

Problemen

Like all computer programs, most of the time things will work just like the instructions say, but sometimes they just won't. There are too many possible reasons for things not going according to plan to describe here. If you have trouble, first check out the Installation FAQ. If you don't find your answer there, please post your problem and any error messages in the LimeSurvey forums, open a support ticket, or join the IRC channel: