|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12112 crypt doesn't work
Submitted: 2001-07-12 14:03 UTC Modified: 2001-07-26 17:31 UTC
From: blon at nfrance dot com Assigned:
Status: Closed Package: *Compile Issues
PHP Version: 4.0.6 OS: OpenBSD 2.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: blon at nfrance dot com
New email:
PHP Version: OS:


 [2001-07-12 14:03 UTC] blon at nfrance dot com

crypt does not work on OpenBSD 2.7

checking for crypt.h... (cached) no
checking for crypt in -lcrypt... (cached) no
checking for mcrypt support... no
checking for standard DES crypt... (cached) yes
checking for extended DES crypt... (cached) yes
checking for MD5 crypt... (cached) yes
checking for Blowfish crypt... (cached) yes

$crypted = crypt("mot","021211232211"); 
print "$crypted";

This script returs an error :
Warning: crypt() is not supported in this PHP build in /home/fred/crypt.php on line 2

This works in php-4.0.4pl1


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-26 17:31 UTC]
This should be fixed in CVS. Please try latest 
snapshot from

Reopen this bug report if the snapshot doesn't work


PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Dec 02 20:03:58 2022 UTC