|  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
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: 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-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 19:05:50 2023 UTC