You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-10-09 14:31:39

infosam
Member
Registered: 2017-10-09
Posts: 2

Parse error: syntax error, unexpected

Bonjour ,

Apres l'installation de OCS sur un serveur 2012 R2
Je souhaitai installer GLPI.
http://localhost (serveur)/glpi/

le message suivant apparaît:
Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\glpi\inc\define.php on line 86

Auriez vous une idée

Offline

#2 2017-10-09 16:34:59

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 15,278

Re: Parse error: syntax error, unexpected

Version de GLPI utilisée ?
Où avez-vous récupéré l'archive de GLPI ?


CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6  - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2017-10-09 16:37:53

infosam
Member
Registered: 2017-10-09
Posts: 2

Re: Parse error: syntax error, unexpected

Bonjour,

Version de GLPI 9.1.6 telecharger sur le site de GLPI

Offline

#4 2017-10-20 10:11:30

rose9392
Member
Registered: 2017-10-20
Posts: 1

Re: Parse error: syntax error, unexpected

Good morning,
I have the same problem too.
I downloaded version 9.2 from the home page and I'm told the same mistake.

Offline

#5 2017-10-20 10:23:48

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Parse error: syntax error, unexpected

GLPI 9.1 requires PHP 5.4
GLPI 9.2 requires PHP 5.6

Looks like you are using 5.3
Update your PHP installation


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#6 2017-10-20 10:38:25

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: Parse error: syntax error, unexpected


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

Board footer

Powered by FluxBB