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 2023-03-06 07:05:56

paquintao
Member
Registered: 2023-03-06
Posts: 2

PHP incompatibility GLPI 10

I need to install GLPI on Debian 10, I can't use Debian 11 because the server is also Zabbix and OpenAudit. The environment is small.
I'm with php:
# php -v
PHP 8.0.28 (cli) (built: Feb 14 2023 18:29:37) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.28, Copyright (c) Zend Technologies
     with Zend OPcache v8.0.28, Copyright (c), by Zend Technologies

But if I try to use GLPI in version > 10.0.0 the message appears: PHP 7.4.0 - 8.2.0 (exclusive) required

I can only load GLPI in version 9.5.12

Is there any incompatibility? From the message and the documentation I understand that no..

Offline

#2 2023-03-07 14:10:39

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: PHP incompatibility GLPI 10

You can have different versions of PHP running in the command line and Apache. The version you saw was for the version being used by the command line.

You can check which PHP module is loaded in Apache with:
apachectl -M
OR
ls /etc/apache2/mods-enabled

You can disable the existing module if it is an incompatible version with:
a2dismod php7.2
and enable a compatible version's module
a2enmod php8.0

Restart Apache for the changes to take effect:
systemctl restart apache2


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

#3 2023-03-11 14:04:52

paquintao
Member
Registered: 2023-03-06
Posts: 2

Re: PHP incompatibility GLPI 10

That's right! Thanks

Offline

Board footer

Powered by FluxBB