ldap support

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Laurent

    ldap support

    Hello,

    I would like to install ldap support on php!

    Steps :

    1. php.ini : extension_dir = "c:\php"
    2. copy file c:\php\extensio n\php_ldap.dll to c:\php
    2. delete ; before extension=php_l dap.dll

    And the message returned when i'm restarting Apache Web server is :

    "Unable to find module c:\php\php_ldap .dll"

    Can you help me please? I don't understand why it doesn't work!!!! :-(

    Thanks,
    Laurent

  • Erwin Moller

    #2
    Re: ldap support

    Laurent wrote:
    [color=blue]
    > Hello,
    >
    > I would like to install ldap support on php!
    >
    > Steps :
    >
    > 1. php.ini : extension_dir = "c:\php"
    > 2. copy file c:\php\extensio n\php_ldap.dll to c:\php
    > 2. delete ; before extension=php_l dap.dll
    >
    > And the message returned when i'm restarting Apache Web server is :
    >
    > "Unable to find module c:\php\php_ldap .dll"
    >
    > Can you help me please? I don't understand why it doesn't work!!!! :-(
    >
    > Thanks,
    > Laurent[/color]

    Hi Laurent,


    Did you install the executable by hand or did you use the
    installshieldth ingy?
    The installshield-install is no good because you CANNOT use extensions.

    Regards,
    Erwin Moller

    Comment

    • Laurent

      #3
      Re: ldap support

      Hello,
      I have installed the php4.3.4.zip (no install.exe or setup.exe)
      I configure manually php to run with Apache.

      Any idea?
      Thanks

      Laurent

      Erwin Moller wrote:
      [color=blue]
      > Laurent wrote:
      >
      >[color=green]
      >>Hello,
      >>
      >>I would like to install ldap support on php!
      >>
      >>Steps :
      >>
      >>1. php.ini : extension_dir = "c:\php"
      >>2. copy file c:\php\extensio n\php_ldap.dll to c:\php
      >>2. delete ; before extension=php_l dap.dll
      >>
      >>And the message returned when i'm restarting Apache Web server is :
      >>
      >>"Unable to find module c:\php\php_ldap .dll"
      >>
      >>Can you help me please? I don't understand why it doesn't work!!!! :-(
      >>
      >>Thanks,
      >>Laurent[/color]
      >
      >
      > Hi Laurent,
      >
      >
      > Did you install the executable by hand or did you use the
      > installshieldth ingy?
      > The installshield-install is no good because you CANNOT use extensions.
      >
      > Regards,
      > Erwin Moller[/color]

      Comment

      • Jeroen Smaal

        #4
        Re: ldap support


        "Laurent" <pichot.laurent .div.NOSPAM@fre e.fr> wrote in message
        news:40162e37$0 $7132$626a54ce@ news.free.fr...[color=blue]
        > Hello,
        >
        > I would like to install ldap support on php!
        >
        > Steps :
        >
        > 1. php.ini : extension_dir = "c:\php"
        > 2. copy file c:\php\extensio n\php_ldap.dll to c:\php
        > 2. delete ; before extension=php_l dap.dll
        >
        > And the message returned when i'm restarting Apache Web server is :
        >
        > "Unable to find module c:\php\php_ldap .dll"
        >
        > Can you help me please? I don't understand why it doesn't work!!!! :-(
        >
        > Thanks,
        > Laurent
        >[/color]

        That does not work as expected. The only way I could get it to work was in
        the following way:

        1. extension_dir = c:\winnt\system 32
        2. copy php_ldap.dll to c:\winnt\system 32
        3. enable ldap_php.dll by removing ; before extension=php_l dap.dll

        Then restart Apache.

        Jeroen.


        Comment

        • Laurent

          #5
          Re: ldap support

          I try it but the message is the same :

          Unable to found dynamic library c:\windows\syst em32\php_ldap.d ll. module
          not found!!

          the windows path?

          Thanks
          Laurent


          Jeroen Smaal wrote:[color=blue]
          > "Laurent" <pichot.laurent .div.NOSPAM@fre e.fr> wrote in message
          > news:40162e37$0 $7132$626a54ce@ news.free.fr...
          >[color=green]
          >>Hello,
          >>
          >>I would like to install ldap support on php!
          >>
          >>Steps :
          >>
          >>1. php.ini : extension_dir = "c:\php"
          >>2. copy file c:\php\extensio n\php_ldap.dll to c:\php
          >>2. delete ; before extension=php_l dap.dll
          >>
          >>And the message returned when i'm restarting Apache Web server is :
          >>
          >>"Unable to find module c:\php\php_ldap .dll"
          >>
          >>Can you help me please? I don't understand why it doesn't work!!!! :-(
          >>
          >>Thanks,
          >>Laurent
          >>[/color]
          >
          >
          > That does not work as expected. The only way I could get it to work was in
          > the following way:
          >
          > 1. extension_dir = c:\winnt\system 32
          > 2. copy php_ldap.dll to c:\winnt\system 32
          > 3. enable ldap_php.dll by removing ; before extension=php_l dap.dll
          >
          > Then restart Apache.
          >
          > Jeroen.
          >
          >[/color]

          Comment

          • Laurent

            #6
            Re: ldap support

            I'm under Windows XP pro and would like to run openldap and install
            phpadminldap.

            Jeroen Smaal wrote:
            [color=blue]
            > "Laurent" <pichot.laurent .div.NOSPAM@fre e.fr> wrote in message
            > news:40162e37$0 $7132$626a54ce@ news.free.fr...
            >[color=green]
            >>Hello,
            >>
            >>I would like to install ldap support on php!
            >>
            >>Steps :
            >>
            >>1. php.ini : extension_dir = "c:\php"
            >>2. copy file c:\php\extensio n\php_ldap.dll to c:\php
            >>2. delete ; before extension=php_l dap.dll
            >>
            >>And the message returned when i'm restarting Apache Web server is :
            >>
            >>"Unable to find module c:\php\php_ldap .dll"
            >>
            >>Can you help me please? I don't understand why it doesn't work!!!! :-(
            >>
            >>Thanks,
            >>Laurent
            >>[/color]
            >
            >
            > That does not work as expected. The only way I could get it to work was in
            > the following way:
            >
            > 1. extension_dir = c:\winnt\system 32
            > 2. copy php_ldap.dll to c:\winnt\system 32
            > 3. enable ldap_php.dll by removing ; before extension=php_l dap.dll
            >
            > Then restart Apache.
            >
            > Jeroen.
            >
            >[/color]

            Comment

            Working...