Wednesday, March 29, 2017

[Solved] Fatal error: "There is no suitable CSPRNG installed on your system"

I saw this error when I tried to install Linux (Cent OS) environment to run Laravel 5.3
Here is the fastest solution that I found :)

Edit your php.ini, add ":/dev/urandom:/dev/random" at the end of open_basedir info to allow php can execute into these folders

open_basedir = "/tmp:/u01/ottportal/cms/:/u01/ottportal/env/php/:/dev/urandom:/dev/random"

No comments:

Post a Comment