RE: [PHP-INST] crypt() broken w/php + Apache2 + OpenSSL?
| From: | Don MacAskill | Date: | Sat, 05 Oct 2002 22:42:35 +0000 |
| Subject: | RE: [PHP-INST] crypt() broken w/php + Apache2 + OpenSSL? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8682@lists.php.net to get a copy of this message | ||
I've been pouring over config.log files, among other things, for hours.
:)
I assume you meant php's config.log, in which case, there is an error
when it first checks for crypt, but this error is present even when I
build php for Apache1 or standalone, both of which work perfectly.
When it checks for crypt in -lcrypt, it passes, and when it checks for
MD5 crypt, it passes. (I see your name when it's checking for the
various crypt flavors, so I guess I'm talking to the right guy :).
In Apache2's config.log, I don't have any references to crypt or MD5,
and don't see anything obvious there. OpenSSL doesn't have a config log
that I can find.
At this point, I'm 99.9% positive the problem exists between Apache2 and
OpenSSL, and not PHP. (Afterall, Apache1 + OpenSSL + PHP works, as does
Apache2 + PHP - OpenSSL. Just not Apache2 + OpenSSL + PHP). I'm just
wondering if anyone else has seen this and knows anything.
Thanks!
Don
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@php.net]
> Sent: Saturday, October 05, 2002 3:12 PM
> To: Don MacAskill
> Cc: php-install@lists.php.net
> Subject: Re: [PHP-INST] crypt() broken w/php + Apache2 + OpenSSL?
>
>
> Probably something interfering with the configure checks.
> See your config.log.
>
> -Rasmus
>
> On Sat, 5 Oct 2002, Don MacAskill wrote:
>
> >
> > PHP's crypt() function doesn't seem to return MD5 results,
> even when
> > using an MD5 salt, when it's used in conjunction with
> Apache2 (2.0.43)
> > and OpenSSL (0.9.6g). Instead, it always returns a DES
> result. FYI,
> > CRYPT_MD5 = 1 and CRYPT_SALT_LENGTH = 12.
> >
> > Apache 1.3.x and the same versions of PHP and OpenSSL work fine.
> > Apache 2 compiled without '--enable-ssl' also works fine. PHP
> > standalone works fine.
> >
> > I've also tried other versions of OpenSSL (0.9.6b) and PHP (4.2.2,
> > 4.3.0-dev) and Apache2 (2.0.42). No luck.
> >
> > Does anyone know what might be causing this? Is there a
> workaround or
> > a fix?
> >
> > Thanks!
> >
> > Don
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>