|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11693 Configure fails to detect crypt()
Submitted: 2001-06-26 07:23 UTC Modified: 2001-06-26 10:35 UTC
From: artem at osp dot ru Assigned:
Status: Closed Package: *Encryption and hash functions
PHP Version: 4.0.6 OS: alphaev56-dec-osf4.0d
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: artem at osp dot ru
New email:
PHP Version: OS:


 [2001-06-26 07:23 UTC] artem at osp dot ru
When I run configure it say:
checking for crypt in -lcrypt... (cached) no

And so disables crypt() function.

4.0.4pl1 don't has this bug.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-26 07:37 UTC]
Please send me your config.log and main/php_config.h files


 [2001-06-26 07:38 UTC]
And what was your configure line?

 [2001-06-26 07:55 UTC] artem at osp dot ru
my configure line:
./configure  --with-mysql=/u/mysql --with-mod_charset --with-apache=../apache_1.3.14rusPL30.1 >my.log

when I manualy change main/php_config.h
line /* #undef HAVE_CRYPT */
to #define HAVE_CRYPT 1

crypt start work.

 [2001-06-26 10:35 UTC]
Fixed in CVS. Thank you for testing.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 18:03:44 2023 UTC