ID: 32590 User updated by: webtech at get-telecom dot fr Reported By: webtech at get-telecom dot fr -Status: Feedback +Status: Open Bug Type: *Encryption and hash functions Operating System: RedHat Entreprise 3 PHP Version: 4.3.11 New Comment:
This one : ./configure --with-apxs=/usr/local/apache/bin/apxs --prefix=/usr/local/php-4.3.11 --with-config-file-path=/usr/local/apache/conf --with-oci8=/home/oracle/app/oracle/product/10g --disable-rpath --with-ldap --includedir=/usr/include --with-gd=/usr/local --with-freetype-dir=/usr/local --enable-gd-native-ttf --enable-gd-imgstrttf Previous Comments: ------------------------------------------------------------------------ [2005-04-06 18:21:25] [EMAIL PROTECTED] What configure line did you use? ------------------------------------------------------------------------ [2005-04-06 17:01:57] webtech at get-telecom dot fr For PHP 4.3.11, it says : checking for crypt.h... yes checking for crypt... no checking for crypt.h... (cached) yes checking for crypt... (cached) no checking for crypt in -lcrypt... yes checking for standard DES crypt... yes checking for extended DES crypt... no checking for MD5 crypt... yes checking for Blowfish crypt... no And for PHP 4.3.10 that have the crypt function, it says exactly the same : checking for crypt.h... (cached) yes checking for crypt... (cached) no checking for crypt.h... (cached) yes checking for crypt... (cached) no 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 ------------------------------------------------------------------------ [2005-04-05 17:47:55] [EMAIL PROTECTED] What does `./configure | grep "\<crypt\>"` say? ------------------------------------------------------------------------ [2005-04-05 17:42:59] webtech at get-telecom dot fr Description: ------------ Hi, I've just compiled PHP 4.3.11 (with a "make install-sapi") and there's no more crypt function. So I decided to install back PHP 4.3.10 where crypt function is available, and it works. Is it possible to use 'crypt' function with PHP 4.3.11 ? Reproduce code: --------------- $str=crypt("zzz"); Expected result: ---------------- No error. Actual result: -------------- Fatal error: Call to undefined function crypt() in ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32590&edit=1