Re: Building LDAP extension on NetWare (second attempt)
| From: | Markus Fischer | Date: | Thu, 14 Mar 2002 07:20:36 +0000 |
| Subject: | Re: Building LDAP extension on NetWare (second attempt) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81182@lists.php.net to get a copy of this message | ||
afaik only the macro ZEND_GET_MODULE which should only be
enabled in DSO builds.
#ifdef COMPILE_DL_LDAP
ZEND_GET_MODULE(ldap)
#endif
(which, in fact, requires that ldap_module_entry has been
defnied already)
On Thu, Mar 14, 2002 at 12:02:38AM -0700, Venkat Raghavan wrote :
> Now, I have LDAP extension built as a separate binary.
>
> I'm not able to load it using dl() with mod_php since it says that dl()
> is not supported for multithreaded Web servers.
>
> When I try to load it using dl() on the command-line (CGI) version of
> PHP, it says that PHP_LDAP.NLM is not a valid PHP library. My doubt is
> that I am not exporting the right stuff out of the binary by which PHP
> can hook into tit. What do I need to export? Is there something standard
> for every extension that is dynamically loaded?
>
> Thanx in advance,
> Venkat
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
--
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc