title: crypt() function returns different result size on different server
body: <p>I need to transfer some hashed password on a new server from old one. 
  Old server has php 5.4.4 and crypt() function on password return a string 102 characters.
  My new server has php 5.5.7 and crypt function return a string of 34 characters.
  On both server, crypt is called without parameters</p>
  
  <pre><code>crypt($password);
  </code></pre>
  
  <p>On user login (on old server) i use this code:</p>
  
  <pre><code>crypt($_POST['password'], $hash_password) == $hash_password
  </code></pre>
  
  <p>Now, if i copy hash passwords to new hosting, and i call that method for check if password is correct, password never match.
  How can i do to make the same type of hashing to that different server?</p>
  
  <p>this is an example of two crypted password:</p>
  
  <p>on old server:</p>
  
  <pre><code>$6$kcPF.fPojej2$YF5Ui0nP8t5Wc0JVVEI9.JD2l/ZyLQGL6T5RN3E5oz3GGiSZoTBsbocMggLkdlBhO6Xe7cGdepW7bo6mKFjYx1                                                            
  </code></pre>
  
  <p>on new server</p>
  
  <pre><code>$1$Sz1cDmU0$Z0uoEwnXH1NokqPwwQJsp/
  </code></pre>