ldap support

This is a discussion on ldap support within the PHP Language forums, part of the PHP Programming Forums category; Hello, I would like to install ldap support on php! Steps : 1. php.ini : extension_dir = "c:\php" 2. ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-27-2004
Laurent
 
Posts: n/a
Default 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\extension\php_ldap.dll to c:\php
2. delete ; before extension=php_ldap.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

Reply With Quote
  #2 (permalink)  
Old 01-27-2004
Erwin Moller
 
Posts: n/a
Default Re: ldap support

Laurent wrote:

> Hello,
>
> I would like to install ldap support on php!
>
> Steps :
>
> 1. php.ini : extension_dir = "c:\php"
> 2. copy file c:\php\extension\php_ldap.dll to c:\php
> 2. delete ; before extension=php_ldap.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


Hi Laurent,


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

Regards,
Erwin Moller
Reply With Quote
  #3 (permalink)  
Old 01-27-2004
Laurent
 
Posts: n/a
Default 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:

> Laurent wrote:
>
>
>>Hello,
>>
>>I would like to install ldap support on php!
>>
>>Steps :
>>
>>1. php.ini : extension_dir = "c:\php"
>>2. copy file c:\php\extension\php_ldap.dll to c:\php
>>2. delete ; before extension=php_ldap.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

>
>
> Hi Laurent,
>
>
> Did you install the executable by hand or did you use the
> installshieldthingy?
> The installshield-install is no good because you CANNOT use extensions.
>
> Regards,
> Erwin Moller


Reply With Quote
  #4 (permalink)  
Old 01-27-2004
Jeroen Smaal
 
Posts: n/a
Default Re: ldap support


"Laurent" <pichot.laurent.div.NOSPAM@free.fr> wrote in message
news:40162e37$0$7132$626a54ce@news.free.fr...
> Hello,
>
> I would like to install ldap support on php!
>
> Steps :
>
> 1. php.ini : extension_dir = "c:\php"
> 2. copy file c:\php\extension\php_ldap.dll to c:\php
> 2. delete ; before extension=php_ldap.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
>


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\system32
2. copy php_ldap.dll to c:\winnt\system32
3. enable ldap_php.dll by removing ; before extension=php_ldap.dll

Then restart Apache.

Jeroen.


Reply With Quote
  #5 (permalink)  
Old 01-27-2004
Laurent
 
Posts: n/a
Default Re: ldap support

I try it but the message is the same :

Unable to found dynamic library c:\windows\system32\php_ldap.dll. module
not found!!

the windows path?

Thanks
Laurent


Jeroen Smaal wrote:
> "Laurent" <pichot.laurent.div.NOSPAM@free.fr> wrote in message
> news:40162e37$0$7132$626a54ce@news.free.fr...
>
>>Hello,
>>
>>I would like to install ldap support on php!
>>
>>Steps :
>>
>>1. php.ini : extension_dir = "c:\php"
>>2. copy file c:\php\extension\php_ldap.dll to c:\php
>>2. delete ; before extension=php_ldap.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
>>

>
>
> 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\system32
> 2. copy php_ldap.dll to c:\winnt\system32
> 3. enable ldap_php.dll by removing ; before extension=php_ldap.dll
>
> Then restart Apache.
>
> Jeroen.
>
>


Reply With Quote
  #6 (permalink)  
Old 01-27-2004
Laurent
 
Posts: n/a
Default Re: ldap support

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

Jeroen Smaal wrote:

> "Laurent" <pichot.laurent.div.NOSPAM@free.fr> wrote in message
> news:40162e37$0$7132$626a54ce@news.free.fr...
>
>>Hello,
>>
>>I would like to install ldap support on php!
>>
>>Steps :
>>
>>1. php.ini : extension_dir = "c:\php"
>>2. copy file c:\php\extension\php_ldap.dll to c:\php
>>2. delete ; before extension=php_ldap.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
>>

>
>
> 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\system32
> 2. copy php_ldap.dll to c:\winnt\system32
> 3. enable ldap_php.dll by removing ; before extension=php_ldap.dll
>
> Then restart Apache.
>
> Jeroen.
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0