|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
42 - 30 = ?
Subscribe to this entry?

 [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: Fri Jan 27 09:05:54 2023 UTC