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 2020-06-11 11:34:35

matthew
Member
Registered: 2020-06-11
Posts: 8

php extension installed but not recognised

The setup process says I am missing some prerequisites, so I install them, and for most of the prerequisites it's fine.  However with two of the prerequisites, GLPI installer doesn't recognise that the prerequisites have been installed.

This is a test machine Ubuntu 20.04 on vitualbox, with the very latest GLPI downloaded yesterday.  The LAMP stack is from bitnami and it's the latest downloaded yesterday.  GLPI version 9.4.6.  PHP version 7.4.6.

In the setup I have:

ldap extension test    ldap extension is not present
CAS extension test    CAS extension is not present

So I do the following command line...

matthew@matthew-VirtualBox:~$ sudo apt-get install php-cas
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php-cas is already the newest version (1.3.8-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

matthew@matthew-VirtualBox:~$ sudo apt-get install php7.4-ldap
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php7.4-ldap is already the newest version (7.4.6-1+ubuntu20.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

matthew@matthew-VirtualBox:~$ sudo apt-get install php-ldap
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php-ldap is already the newest version (2:7.4+76+ubuntu20.04.1+deb.sury.org+9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
matthew@matthew-VirtualBox:~$


I've also edited the php.ini, I don't know which is correct I've tried different combinations just hoping anything will work.
extension=ldap
extension=cas
extension=php-ldap
extension=php7.4-ldap
extension=php_ldap.so


I reboot the server (not power off power on but I go to the restart the LAMP stack).

And still I get the same...
ldap extension test    ldap extension is not present
CAS extension test    CAS extension is not present

I'm going around in circles.
The command line says these php extensions are installed.  They are in the php.ini.  And whatever I do GLPI doesn't recognise them.

Anyone got any ideas what I can try next?

Last edited by matthew (2020-06-11 11:47:23)

Offline

#2 2020-06-11 16:47:48

mecmav
Member
From: Brasil
Registered: 2019-03-22
Posts: 326

Re: php extension installed but not recognised

Are you using what version of Ubuntu (Desktop or Server)?

And you really need to use the latest distro? Because particularly, I've had problems and some unexpected behaviors when I trying to use the latest releases for everything.

Last edited by mecmav (2020-06-11 16:48:20)

Offline

#3 2020-06-11 17:55:41

matthew
Member
Registered: 2020-06-11
Posts: 8

Re: php extension installed but not recognised

Ubuntu Desktop

I don't need to latest version, I need something that will work on a test machine.

However afterwards when it comes to my live server I still need it to work.

Offline

Board footer

Powered by FluxBB