php.net |  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.
Password:
Status:
Package:
Bug Type:
Summary:
From: blon at nfrance dot com
New email:
PHP Version: OS:

 

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

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

Reopen this bug report if the snapshot doesn't work
either.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 14:01:28 2024 UTC