Actions

Installation de Limesurvey CE en Francais

From LimeSurvey Manual

Revision as of 00:16, 8 September 2017 by Tpweb17 (talk | contribs) (Created page with "==compatibilité des navigateurs== '''Pour le côté questionnaire''', IE9 est supporté ainsi que tous les navigateurs récents comparables comme FF, Chrome, Opéra, etc., av...")
Remarque : Les instructions ci-dessous concernent les versions 2.0 ou ulterieures. Installation de la Version 1.92 ou des versions précédentes (en anglais)

Général

Le projet LimeSurvey vous propose deux manières d'installer LimeSurvey :

  • Sur votre serveur web :
    Dans ce cas suivez simplement les instructions de cette page en partant de l'étape 1.
  • En local sur votre ordinateur Windows :
    Ceci est utile si vous souhaitez créer un sondage en local (pour aller plus vite ou effectuer des tests ou du développement) puis l'envoyer par la suite dans LimeSurvey sur votre serveur web "en-ligne". Pour cela, nous avons préparé un pack spécial comprenant un serveur web (Apache), un serveur de base de données (MySQL) et Limesurvey bien sûr. instructions d'installation du pack (en anglais).

Prérequis pour utiliser LimeSurvey sur votre site web

Assurez-vous que votre serveur réponde aux exigences suivantes. La plupart de ces prérequis seront vérifiés durant l'installation.

Les prérequis seront également testés au cours de l'installation !

Requis :

  • 180 Mo d'espace libre minimum.
  • MySQL 5.5.3 et versions supérieur OU Microsoft SQL Server 2005 et versions supérieures OU Postgres 9 et versions supérieures
  • PHP 5.5.3 au minimum, néanmoins, nous recommandons PHP 5.5.x et versions supérieures avec ces extensions activées :
    • mbstring (Multibyte String Functions) pour que le système de traduction fonctionne. Voir aussi [1]
    • Pilote de base de données PDO pour MySQL (pdo_mysql ou pdo_mysqli), Postgres (pdo_pgsql) ou MSSQL [2] pour Windows et pdo_dblib pour Linux.
    • Assurez-vous également que les bibliothèques PHP de base soient activées (comme hash, session etc.)
Attention : LimeSurvey 2.x utilise des pilotes de bases de données différents de LimeSurvey 1.x. Si vous voyez apparaitre le message "No DBO driver was found during the installation", veuillez demander à votre hébergeur d'activer la/les extensions appropriées mentionné ci-dessus.
Note : si vous connectez à une base de données MSSQL sur un serveur Windows à partir de Linux en utilisant le pilote PDO dlib, le FreeTDS sous-jacent doit être correctement installé. Voir la page dépannage Troubleshooting pour plus d'informations.

Optional PHP Extensions:

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

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

compatibilité des navigateurs

Pour le côté questionnaire, IE9 est supporté ainsi que tous les navigateurs récents comparables comme FF, Chrome, Opéra, etc., avec JavaScript activé. Aucune version de IE fonctionnant en mode intranet ou compatibilité n'est supportée !

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 for 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.

2. Téléchargement du programme LimeSurvey

Download the latest stable LimeSurvey zip package (there are also gzip, bz2 and 7zip packages available for your convenience) and save it to your local disk.

3. Décompression du fichier d'installation de LimeSurvey

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.

4. Collecte d'informations au sujet de votre serveur

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 (i.e.: 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.

5. Envoyer vos fichiers sur le serveur

Connectez-vous sur votre serveur en utilisant un client FTP et créer un dossier qui accueillera vos scripts. Ensuite, envoyez vos fichier en respectant l'arborescence en place. Assurez-vous que le transfert s'effectue en mode binaire (vérifier dans les paramètres du client FTP). Le transfert en mode ASCII peut engendrer des erreur du type "class not found" pendant l'installation et les images pourraient ne pas être copier correctement.

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.


7.2 Créer un utilisateur de la base de données

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: Unknown - if you can find out this information please complete it.

8. Exécution du script d'installation

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 whether you wish to create the database and/or create the tables inside the database. LimeSurvey will then create the needed tables in the database.

9. Première connexion à l'interface d'administration

After the installer has finished you are done! Open your browser and enter the URL to the LimeSurvey administration. Assuming you used 'limesurvey' as the directory name to store the files in, this will be something like "http://www.example.com/limesurvey/admin".

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

User: admin
Password: password

Il vous sera demandé de changer ce mot de passe après la première connexion. Amusez-vous bien !

10. En cas de problème...

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: