From: ExsonQu <hex...@gm...> - 2014-10-26 01:50:24
|
*Dear all,* The description in PHP manual for crypt() is /crypt() will return a hashed string using the standard Unix DES-based algorithm or alternative algorithms that may be available on the system./ . It seems like a OS dependable functon. So if the php not installed in Unix system, users have to install the mcrypt extension. And I've checked the extension in wampserver2.2, there is no such one availble. And the php.ini has a option, but only provide a unix-like explaination as following: ; Directory where to load mcrypt algorithms ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) ;mcrypt.algorithms_dir= ; Directory where to load mcrypt modes ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt) ;mcrypt.modes_dir= Anyway, if we use this function, we have to 1) check if mycrypt existed or not. Then issue a error for the users or 2) downgrade to previous version's method to avoid those function in the installer. It is not a easy work for most weberp users' to install a mcrypt extension IMHO. Any comments are appreciated for this. Best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/PHP-VERSION-ID-50500-not-work-tp4657758p4657766.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |