Re: crypt() broken w/php + Apache2 + OpenSSL?
| From: | Rasmus Lerdorf | Date: | Sat, 05 Oct 2002 22:11:45 +0000 |
| Subject: | Re: crypt() broken w/php + Apache2 + OpenSSL? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8678@lists.php.net to get a copy of this message | ||
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
>