RE: [PHP-WIN] LDAP extension hanging Apache
| From: | iforce at canbytel dot com | Date: | Mon, 22 Sep 2003 21:31:18 +0000 |
| Subject: | RE: [PHP-WIN] LDAP extension hanging Apache | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-21504@lists.php.net to get a copy of this message | ||
Yes, it does.
Interestingly, I just tried modifying the extension_dir to use '/' instead
of '\' as the directory separator, then I tried commenting out a different
module (php_msql), and it hung Apache when restarting as well. So it appears
that it's not just LDAP that's causing the problem -- it's all of the
modules.
Any idea what configuration setting other than extension_dir would affect
loading modules in such a manner?
-----Original Message-----
From: C-omputerSolutions Webmaster [mailto:webmaster@c-omputersolutions.com]
Sent: Monday, September 22, 2003 2:22 PM
To: iforce@canbytel.com
Cc: php-windows@lists.php.net
Subject: RE: [PHP-WIN] LDAP extension hanging Apache
probably not helpful but does the php.ini extension_dir variable point to
the location of the PHP extension dlls? e.g. c:/php/extensions/
At 04:59 PM 9/22/2003, you wrote:
>Oh yeah, forgot to mention that in the post. I did run Test
>Configuration, and it came back OK:
>
>d:/apache/conf/httpd.conf: Syntax OK
>Note the errors or messages above, and press the <ESC> key to exit.
>
>-----Original Message-----
>From: C-omputerSolutions Webmaster
>[mailto:webmaster@c-omputersolutions.com]
>
>Sent: Monday, September 22, 2003 1:55 PM
>To: iforce@canbytel.com
>Subject: Re: [PHP-WIN] LDAP extension hanging Apache
>
>
>Have you tried running the Test Configuration utility that comes with
>Apache? usually if there is an error it will delineate it for you
>telling you what line is giving the problem.
>
>At 04:29 PM 9/22/2003, you wrote:
> >OS: Win2k SP3
> >Apache: 1.3.24
> >PHP: 4.3.2
> >
> >When I add 'extension=php_ldap.dll' to php.ini and restart the Apache
> >service, it hangs and doesn't restart. No errors appear in error.log
> >and nothing is printed to the console when using Apache's supplied
> >service restart. When I comment out the above extension line, it
> >restarts normally.
> >
> >I tried doing a bit of Googling for LDAP hanging PHP/Apache on Win32,
> >but it didn't turn up anything useful.
> >
> >Has anybody experienced this, and can anybody offer any suggestions
> >as to what my next course of action should be? I'm attempting to come
> >up with a solution to authenticate users against a domain, and using
> >LDAP seems to be the best way to go, but I can't even get the
> >extension loaded. :-/ (I've tried using UserServer, but it doesn't
> >seem to work 100% of the time.)