title: PHP Crypt not working Ubuntu PHP 5.3.6
body: <p>Why do the crypt values not match on Ubuntu PHP 5.3.6? On other systems, they match.</p>
  
  <p>Sample code:</p>
  
  <pre><code>&lt;?php
  
  $password = '12345';
  
  $saltString = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
  $salt = '_';
  while (strlen($salt) &lt; 9)
      $salt .= substr($saltString, rand(0, strlen($saltString)-1), 1);
  $cryptedPassword = crypt($password, $salt);
  
  printf("Password: %s\n", $password);
  printf("Crypted Password: %s\n", $cryptedPassword);
  
  $cryptCompare = crypt($password, $cryptedPassword);
  
  printf("Crypted Password Comparison: %s\n", $cryptCompare);
  
  ?&gt;
  
  Password: 12345
  Crypted Password: _8OixMoOTyONAZDOiHbs
  Crypted Password Comparison: _8IK4dGYmlkVo
  </code></pre>