php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26131 the crypt function have no MD5 support
Submitted: 2003-11-05 02:04 UTC Modified: 2003-11-05 05:11 UTC
From: yoda at cef dot org dot tw Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.3.4 OS: RedHat Linux 9.0
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:
MUST BE VALID
Solve the problem:
34 - 30 = ?
Subscribe to this entry?

 
 [2003-11-05 02:04 UTC] yoda at cef dot org dot tw
Description:
------------
When I download PHP 4.3.4 and running configure, I found that the crypt function has no crypt method support .
Below is my configure options
./configure --with-apxs2 --with-layout=PHP --with-config-file-path=/etc/httpd --enable-sigchild --enable-magic-quotes --with-openssl --enable-ftp --enable-mbstring --enable-mbregex --enable-mime-magic --with-pgsql=/usr/local/pgsql  -enable-sysvsem --enable-sysvshm --with-iconv --enable-zend-multibyte --without-mysql --with-gd --with-ttf --with-freetype-dir --with-zlib --with-jpeg-dir --with-png-dir --with-iconv --with-mbstring=tw --with-pdflib --with-tiff-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --without-xpm --enable-zend-multibyte --enable-experimental-zts --without-kerberos

under this configure optoins, I get such test result:
checking for crypt in -lcrypt... yes
checking for standard DES crypt... no
checking for extended DES crypt... no
checking for MD5 crypt... no
checking for Blowfish crypt... no

It's strange ! I have crypt function but no crypt method avalible ! Even the standard DES crypt !
BTW, these options in PHP 4.3.3 is work !
In PHP 4.3.3 I got this:
checking for crypt in -lcrypt... (cached) yes
checking for standard DES crypt... (cached) yes
checking for extended DES crypt... (cached) no
checking for MD5 crypt... (cached) yes
checking for Blowfish crypt... (cached) no

So .... what's the problem ?


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-05 04:58 UTC] yoda at cef dot org dot tw
Sorry .... It's my fault.
I forgot set some path in /etc/ld.so.conf.
 [2003-11-05 05:11 UTC] didou@php.net
So it's bogus :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 11:01:32 2024 UTC