#50426 [NEW]: crypt function not available
| From: | vipnambiar at rediffmail dot com | Date: | Wed, 09 Dec 2009 13:12:57 +0000 |
| Subject: | #50426 [NEW]: crypt function not available | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145578@lists.php.net to get a copy of this message | ||
From: vipnambiar at rediffmail dot com
Operating system: linux centos
PHP version: 5.2.11
PHP Bug Type: *Encryption and hash functions
Bug description: crypt function not available
Description:
------------
recently upgraded php from 4.4 to 5.2.6
configure command
'./configure' '--with-apxs2=/usr/sbin/apxs' '--enable-track-vars'
'--enable-shmop' '--enable-sysvsem' '--enable-sysvshm'
'--with-oci8=/usr/local/oracle92' '--with-mysql' '--with-zlib=/usr'
'--with-zlib-dir=/usr/local/lib/' '--with-gd'
'--with-png-dir=/usr/local/lib' '--with-freetype-dir=/usr/local/lib/'
'--with-jpeg-dir=/usr/lib/' '--with-curl'
When i ran the following script
<?php
$password = 'OctaviaAnghel';
$crypt = crypt($password);
echo $crypt;
?>
the following error is displayed.
Fatal error: Call to undefined function crypt() in
/home/httpd/htdocs/test.php on line 3
--
Edit bug report at http://bugs.php.net/?id=50426&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50426&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50426&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50426&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50426&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50426&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50426&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50426&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50426&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50426&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50426&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50426&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50426&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50426&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50426&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50426&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50426&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50426&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50426&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50426&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50426&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50426&r=mysqlcfg