note 19567 added to function.crypt

From: Date: Mon, 04 Mar 2002 13:19:48 +0000
Subject: note 19567 added to function.crypt
Groups: php.notes 
Request: Send a blank email to php-notes+get-27311@lists.php.net to get a copy of this message
Adding Curl support to PHP can cause crypt use DES instead of MD5. Curl wants to include -lcrypto before -lcrypt in the $LIBS string, which is the primary problem. This change fixes it: sed 's/"-lcurl $LIBS/"-lcrypt -lcurl $LIBS/' < configure > configure.new mv -f configure.new configure chmod 755 configure -- http://www.php.net/manual/en/function.crypt.php http://master.php.net/manage/user-notes.php?action=edit+19567 http://master.php.net/manage/user-notes.php?action=delete+19567 http://master.php.net/manage/user-notes.php?action=reject+19567

« previous php.notes (#27311) next »