Support the ongoing development of Laravel.io →
posted 10 years ago
Installation

After installing Laravel I get the following error "You need to specify a file path to store the seed. "

I have openSSL enabled and confirmed that it is running via phpinfo. ( OpenSSL support enabled ) and checking it runtime with the php command extension_loaded('openssl').

If I delete domain cookies then it is ok until I hit refresh.

I am using Wamp Apache->2.2.22 PHP->5.3.1

I have seen other posts with the same issue but with no solution that works for me?

On solution said:

  • You can add a text file like "seed.txt" in bootstrap directory and change line 7877 in bootstrap/compiled.php like that :

  • $bytes = with(new SecureRandom('seed.txt'))->nextBytes(16);

  • It'll work because nextBytes method needs a file if open_ssl doesn't work.

This did not really help as I do not have the file bootstrap/compiled.php

Last updated 3 years ago.
0

With WAMP you need to enable openssl from their menu, otherwise it's not active.

Make sure it's selected here; http://s.asbra.net/0525/2014-05-25_17-17-26.png

Last updated 3 years ago.
0

Have checked on the menu and it is ticked.

Last updated 3 years ago.
0

I have found the solution it appears that my php version was too old. I was using 5.3.1 and min is 5.3.7. All is ok now I have upgraded. Have seen a few similar posts so hope this helps somebody else.

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

roused roused Joined 25 May 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.