phpsymphony-cms

Installing Symphony Issues on my localhost


I tried to install symphony on my localhost xampp. My Php version is: 7.0.5. After I filled all of the inputs (db connection, username password, etc) I got this error message:

    Symphony Warning: mt_srand() expects parameter 1 to be integer, float given
    95 * @return string
    96 * a hexadecimal string
    97 */
    98 public static function generateSalt($length)
    99 {
    100 mt_srand(microtime(true)*100000 + memory_get_usage(true));
    101 return substr(sha1(uniqid(mt_rand(), true)), 0, $length);
    102 }
    103 } 

How can move forward this this ? I am newbie and this is the first time when I tried to install Symphony. Thx in advance.

UPDATE enter image description here


Solution

  • This has been fixed in the next version (by using the intval function), which is not yet released.

    Symphony CMS 2.6.7 doesn't support PHP 7, but 2.7 will have at least some PHP 7-related issues fixed. So it's probably best for you to wait for the next version as even if you fixed this particular issue in your 2.6.7 installation you'd very likely come up against other PHP 7-related issues after installation.