TransWikia.com

Problem installing - "there is no suitable CSPRNG installed on your system"

ExpressionEngine® Answers Asked by Kippi on October 3, 2021

Can anyone help me with this?
Im trying to installed 5.3.2 and this message is appearing.

Exception Caught
There is no suitable CSPRNG installed on your system
ee/EllisLab/ExpressionEngine/Library/Compat/Random/random.php:176

Stack Trace: Please include when reporting this error
#0 ee/EllisLab/ExpressionEngine/Library/Compat/Random/random_int.php(156): random_bytes(8)
#1 ee/EllisLab/ExpressionEngine/Service/Encrypt/Encrypt.php(285): random_int(-9223372036854775807, 9223372036854775807)
#2 ee/installer/controllers/wizard.php(878): EllisLabExpressionEngineServiceEncryptEncrypt->generateKey()
#3 ee/installer/controllers/wizard.php(272): Wizard->do_install()
#4 [internal function]: Wizard->_remap('do_install', Array)
#5 ee/EllisLab/ExpressionEngine/Core/Core.php(241): call_user_func_array(Array, Array)
#6 ee/EllisLab/ExpressionEngine/Core/Core.php(110): EllisLabExpressionEngineCoreCore->runController(Array)
#7 ee/EllisLab/ExpressionEngine/Boot/boot.php(151): EllisLabExpressionEngineCoreCore->run(Object(EllisLabExpressionEngineCoreRequest))
#8 admin.php(153): require_once('...')
#8 admin.php(153): require_once('...')

2 Answers

I know it's an old thread, but if someone is having same problem when running Windows server with PHP 5.6, you need to make sure you have CAPICOM installed and com_dotnet extension is included in php.ini

Answered by Yuri Salimovskiy on October 3, 2021

CSPRNG stands for cryptographically secure pseudo-random number generator which is a library added to PHP from version 7.0 onwards. From version 5.2 onwards it was possible to install an additional module on your server to provide this service.

So my guess is that the php system on the server you are using is running some flavour of php5, and that this additional module is not installed.

Strong recommendation is therefore to adjust your server to be one that is running a version of php7. If this is not possible, then discuss with your server administration the possibility of adding the necessary CSPRNG module to whatever version is being used.

HTH

Answered by JCOGS Design on October 3, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP