+ Post New Thread
Results 1 to 12 of 12
Web Development Thread, ldap on php in Coding and Web Development; if i (trying) install ldap on php on IIS. should it show up on phpinfo when its loaded?...
  1. #1
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,540
    Thank Post
    112
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    41

    ldap on php

    if i (trying) install ldap on php on IIS. should it show up on phpinfo when its loaded?

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: ldap on php

    Yes, you should have an 'ldap' section detailing the module settings.

  3. #3
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,540
    Thank Post
    112
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    41

    Re: ldap on php

    i was afraid of that thx

  4. #4
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,540
    Thank Post
    112
    Thanked 89 Times in 75 Posts
    Blog Entries
    47
    Rep Power
    41

    Re: ldap on php

    got it loading now but when i try and do anything i get a popup auth box and then
    HTTP 401.5 - Unauthorized: Authorization by ISAPI or CGI application failed
    Internet Information Services

  5. #5

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,192
    Thank Post
    300
    Thanked 215 Times in 185 Posts
    Rep Power
    57

    Re: ldap on php

    Can i slightly hijack this thread?

    The reason being is the OP has PHP installed and looks to be using the ISAPI extension filter thingy as opposed to the CGI on IIS.

    I am having major problems on installing PHP on my Windows 2003 box.
    I don't know why but i am. I have researched on the installation of PHP and all guides state the same methods, with slighty different ways of doing them, but upon following the guides i still end up with the same outcome. PHP pages will not parse. Sometimes i get a page not found error or unauthorised to see this page error.

    I have set this up before on a server around 3 years ago but cannot remember what i did to get it working. I followed a guide and it was fine IIRC. I have followed the same guide but nothing.

    I have downloaded the Windows binary version and also tried a manual install (Parallels helped wonders on this) but still no go. I have looked up the errors but nothing helps.

    I am running server 2003 standard with SP1 and trying to install PHP 5.2.2. I am looking to run Joomla and utilise Sysmans_Mks template (cuz its ace) but am stumbling at the first hurdle. I know i can do it but it just ain't happening at the moment.

    Any ideas?

    Thanks in advance

  6. #6
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,007
    Thank Post
    124
    Thanked 286 Times in 263 Posts
    Rep Power
    109

    Re: ldap on php

    If you still dont have answer by tuesday I will check my settings for you HodgeHi.

  7. #7

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,192
    Thank Post
    300
    Thanked 215 Times in 185 Posts
    Rep Power
    57

    Re: ldap on php

    Excellent stuff. Cheers. I am still working on it so if i resolve i will post as soon as.

  8. #8


    Join Date
    Oct 2006
    Posts
    3,414
    Thank Post
    184
    Thanked 356 Times in 285 Posts
    Rep Power
    149

    Re: ldap on php

    Sorry cant answer your question but; build yourself up a linux box. Ive had alsorts of problems with *AMP in windows and the only answer i can get is "It was never designed for windows, so dont use it"

    Sorry that isnt of great help but i garrenty you'll have far less problems on *nix

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: ldap on php

    Plus the performance of PHP on IIS/Apache on Windows is terrible in comparison.

  10. #10

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,192
    Thank Post
    300
    Thanked 215 Times in 185 Posts
    Rep Power
    57

    Re: ldap on php

    The reasons for building on IIS were the ease of integration with ad for authentication. I have since changed my mind about the ease of integration as it seems that it can't even install IIS correclty in the first place.

    When i tried to install IIS and PHP it on Friday, it seemed to have completely buggered up my domain. Users logged in but failed to get any group policies applying and caused all sorts of services to fail.

    Upon uninstalling and restarting the DC all seems to be OK again now, apart from the slowness of logging in but i assume that is because it is authenticating against the DC across the Wi-Fi bridge.

    I have since decided to run Joomla on the OS X server instead (installed and configured on Macbook Pro in 10 minutes and running nicely) which brings me round nicely to the original OP question(ish). How would i enable LDAP queries to AD from Apache? I would like users to be able to authenticate using their won username and password, unless there is another way using Joomla itself.

    Many thanks for any help given on this subject area.

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: ldap on php

    You just need the PHP LDAP module installed and enabled. Then the LDAP authentication is configured in Joomla.

  12. #12

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,192
    Thank Post
    300
    Thanked 215 Times in 185 Posts
    Rep Power
    57

    Re: ldap on php

    That sounds like just what i'm after. Thanks for the information.
    Joomla is sounding better and better each time i ask something about it.



SHARE:
+ Post New Thread

Similar Threads

  1. Help with MRBS and LDAP
    By bonjour in forum Network and Classroom Management
    Replies: 11
    Last Post: 8th October 2009, 09:23 AM
  2. phpESP and LDAP
    By brubakes in forum Educational Software
    Replies: 0
    Last Post: 3rd January 2008, 09:55 PM
  3. PHP and LDAP on IIS
    By srochford in forum Windows
    Replies: 2
    Last Post: 31st October 2007, 10:05 AM
  4. LDAP & SchoolGuardian
    By dave.81 in forum *nix
    Replies: 2
    Last Post: 14th September 2007, 10:20 AM
  5. Moodle and LDAP
    By GrumbleDook in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 28th March 2007, 05:02 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •