Ask a Question related to PHP Development, Design and Development.
-
yoda at cef dot org dot tw #1
#26131 [NEW]: the crypt function have no MD5 support
From: yoda at cef dot org dot tw
Operating system: RedHat Linux 9.0
PHP version: 4.3.4
PHP Bug Type: *Compile Issues
Bug description: the crypt function have no MD5 support
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 ?
--
Edit bug report at [url]http://bugs.php.net/?id=26131&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26131&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26131&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26131&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26131&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26131&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26131&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26131&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26131&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26131&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26131&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26131&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26131&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26131&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26131&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26131&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26131&r=float[/url]
yoda at cef dot org dot tw Guest
-
Crypt::DH Crypt::Random install problem
The Linux Test Project (ltp http://ltp.sourceforge.net/) perl file autoltp requires Net::SSH and Net::SFTP These ultimately require Crypt::DH which... -
crypt function in PHP different from Perl's crypt?
Why returns the crypt function a longer strin than Perls crypt? I need the same length (8 chars) for a password field link its used in the... -
#26131 [Opn->Bgs]: the crypt function have no MD5 support
ID: 26131 Updated by: didou@php.net Reported By: yoda at cef dot org dot tw -Status: Open +Status: ... -
#26131 [Opn]: the crypt function have no MD5 support
ID: 26131 User updated by: yoda at cef dot org dot tw Reported By: yoda at cef dot org dot tw Status: Open Bug... -
note 33705 added to function.crypt
there is no passwordgenerator available in php, so i thought i would present mine in here.... Its just a simple function which you could change how...



Reply With Quote

