php3-list | 199901
Date: 01/23/99
- Next message: Pan Hong: "[PHP3] Bitwise Xor"
- Previous message: Colin Viebrock: "Re: [PHP3] Searching .PDF, .DOC files"
- In reply to: Arthur: "Re: [PHP3] unable to load php3_ldap.dll"
- Next in thread: Arthur: "Re: [PHP3] unable to load php3_ldap.dll"
- Reply: Arthur: "Re: [PHP3] unable to load php3_ldap.dll"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I tried different ways including changing the extension directory in php.ini. It
still didn't work.
I put all the .dll files in d:\Apache Group\Apache\cgi-bin directory and put my php
scripts under d:\Apache Group\Apache\html\php directory.
At first, I defined the extension directory in php.ini according to the document as
"extension_dir=d:\Apache~1\Apache\cgi-bin\. Then in my script, I just put
'dl(php3_ldap.dll)'. It didn't work.
Next, I tried to remove the extension directory setting in php.ini, and then used
'dl(../../cgi-bin/php3_ldap.dll)' in my script as you told me. It still didn't
work.
I also tested out some other different combinations of setting. Nup, all failed.
Can you figure out what's wrong? I'm using it to rush out a project. So please
kindly reply.
thanks,
Pan Hong
Arthur wrote:
> >Allow me to re-describe my situation here. I tried to use php3_ldap.dll
> >on Win98 with Apache. This is just my own development environment. I
> >added 'dl("php3_ldap.dll")' at the beginning of my script. But when I
> >run the script at command line, it promted me 'unable to load dynamic
> >library d:\Apache\cgi-bin\php3_ldap.dll' (Because I copied php.exe and
> >all the .dll files to the d:\Apache\cgi-bin directory). I've confirmed
> >that the path of php3_ldap.dll is correct.
>
> I had a similar problem with the Mysql DLL. Turned out that php.exe was
> looking for the dll in the same directory as the script. My dll pathway was
> initially specified as:
>
> <? dl("Php3_mys.dll"); ?>
>
> The error message I got was:
>
> Unable to load dynamic library './Php3_mys.dll'
>
> My script was in c:\dev
> My dll was in c:\php
>
> I changed the dll pathway to:
>
> <? dl("../php/Php3_mys.dll"); ?>
>
> Then it worked.
> I wonder why the php3.ini under c:\windows didn't seem to work when I used
> it to specify libraries to load automatically -
>
> extension=php3_mys.dll
>
> - Arthur
>
> --
> PHP 3 Mailing List http://www.php.net/
> To unsubscribe send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest list: php3-digest-subscribe <email protected>
> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
> List administrator: zeev-list-admin <email protected>
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Pan Hong: "[PHP3] Bitwise Xor"
- Previous message: Colin Viebrock: "Re: [PHP3] Searching .PDF, .DOC files"
- In reply to: Arthur: "Re: [PHP3] unable to load php3_ldap.dll"
- Next in thread: Arthur: "Re: [PHP3] unable to load php3_ldap.dll"
- Reply: Arthur: "Re: [PHP3] unable to load php3_ldap.dll"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

