Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ckissi's avatar

Cannot run Laravel 5.4 on PHP 7.0.16-1+xenial

Hi,

I'm on Openlitespeed with PHP 7.0.16 and getting this error:

Exception in Str.php line 241: Could not gather sufficient random data

0 likes
1 reply
ohffs's avatar
ohffs
Best Answer
Level 50

If that's a VM, then it's probably not getting enough entropy to generate 'randomness'. If you have ssh on the machine try running cat /dev/random and cat /dev/urandom (you'll have to control-c to quit the commands).

If both of those seem 'sluggish' then you might need to talk to the hosting provider.

Please or to participate in this conversation.