partkeepr / PartKeepr

Open Source Inventory Management
http://www.partkeepr.org
GNU General Public License v3.0
1.38k stars 400 forks source link

Check for LDAP php module during prereq check #778

Closed transplier closed 4 years ago

transplier commented 7 years ago

Using php5.6 on Ubuntu 14.04.5 LTS. Prereq check was clean save warnings for apcu and max execution time. Upon the DB connectivity check, I got a Generic Error which had the following details:

0x7002: LDAP extension not loaded

I fixed it like this:

$ sudo apt-get install php5.6-ldap
$ sudo apachectl restart

Seems the availability of this package should be added to the prereqs check.

yschroeder commented 7 years ago

I had the same issue (error message) on Ubuntu 16.04.2 LTS with php7.0. I installed php7.0-ldap and it worked.

naturalgeek commented 7 years ago

Same issue here, using debian 8, and php5.6

screen shot 2017-03-08 at 13 49 53
westerterp commented 7 years ago

Same issue here. Why is php-ldap a requisite? Shouldn't I be able to set up PartKeepr without it if I am not planning on using it?

Drachenkaetzchen commented 7 years ago

@westerterp the reason is given here: https://github.com/partkeepr/PartKeepr/issues/590#issuecomment-181445083

baradhili commented 4 years ago

Closing this as solved in 1.4.0