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 2009-03-06 15:36:11

monkeymafia
Member
Registered: 2008-08-04
Posts: 31

The LDAP extension of your PHP parser isn't installed

Hi,

I am getting the above error message when trying LDAP authentication.

I have done a fresh install of PHP and GLPI due to previous issues. Now everything is working apart from LDAP sad

I am using Windows Server 2003 / IIS

I have searched the forum and have removed the ; before the relevant line in php.ini:

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here.  Specify the location of the extension with the
; extension_dir directive above.


; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.

;extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_ifx.dll
;extension=php_imap.dll
;extension=php_interbase.dll
extension=php_ldap.dll
;extension=php_mbstring.dll
extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
extension=php_msql.dll
extension=php_mssql.dll
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_pdo.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_oci8.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_soap.dll
;extension=php_sockets.dll
;extension=php_sqlite.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
;extension=php_xmlrpc.dll
;extension=php_xsl.dll
;extension=php_zip.dll

the php_ldap.dll is in teh C:\PHP\ext directory so I don't see what the problem is.

I have also restarted the web server after making changes to the .ini file. Any ideas anyone?

would be greatly appreciated.

thanks

Offline

#2 2009-03-11 14:22:02

chetanhooli
Member
Registered: 2009-03-11
Posts: 2

Re: The LDAP extension of your PHP parser isn't installed

Same issue here , I have followed the exact same procedure!
Using the .71 Version!

Offline

#3 2009-03-11 14:26:00

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

Re: The LDAP extension of your PHP parser isn't installed

> ; Be sure to appropriately set the extension_dir directive.

So, check this directive (php.ini), his value (phpinfo) and put the DLL in this dir.

+


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

#4 2009-03-12 05:02:48

chetanhooli
Member
Registered: 2009-03-11
Posts: 2

Re: The LDAP extension of your PHP parser isn't installed

Ok got this fixed , here is what I was doing wrong . I had removed the ; before the relevant line in php5.ini which was located here C:\xampp\php instead of the php.ini here C:\xampp\apache\bin

The correct path for users using XAMPP would be the php.ini file located in C:\xampp\apache\bin\

Thanks!

Offline

#5 2009-03-12 07:55:11

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

Re: The LDAP extension of your PHP parser isn't installed

Well, I close.


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