- Posts: 5056
- Thank you received: 1267
Ask the community, share ideas, and connect with other LimeSurvey users!
combitz wrote: I'm experiencing the same problem on Version 3.14.10+180924 with PHP 7.2.10 on IIS10 via Fast Cgi and MSSQL via driver php_pdo_sqlsrv_72_nts_x64.dll
combitz wrote: The problem is PHP 7.2 deprecated the mcrypt method so Yii::app()->securityManager->generateRandomString(int) will always fail on PHP installs above 7.1
Maybe we need to test it when installing ? And show a warning (like imap etc …) or a dangerjelo wrote: …
Yii checks if OpenSSL or MCrypt or /dev/urandom is available. On a Windows platform under PHP 7.2 both MCrypt (not available under PHP 7.2 or above) and /dev/unrandom (not available under windows) are not available. So OpenSSL is the only way under Windows PHP 7.2.
DenisChenu wrote: Maybe we need to test it when installing ? And show a warning (like imap etc …) or a danger
Yes but we don't recommend Windows IIScombitz wrote: I just had the same thought as it will get everyone installing from new as 7.2+ is the current recommended stable version …