Laravel,你需要指定一个文件路径来存储种子
我已经在我的新目录中复制了我的新 Laravel 项目.但我的项目不包含在供应商"目录中.所以我运行命令:
I have copy my new Laravel project in my new directory. But my project is not included with "vendor" directory. So I run command:
composer install
并且一切运行顺利供应商目录创建并填充了包.
And everything run smoothly vendor direcotory created and filled in with packages.
然后我刷新我的网页,突然我得到一个错误.但通常我喜欢这样没有错误.
Then I refresh my web page, suddenly I get an error. But usually I do like this without error.
您需要指定一个文件路径来存储种子
错误在文件 D:wwwlaravelmyprojectvendorsymfonysecuritySymfonyComponentSecurityCoreUtilSecureRandom.php 中
The error was in file D:wwwlaravelmyprojectvendorsymfonysecuritySymfonyComponentSecurityCoreUtilSecureRandom.php
...
$this->logger->info('OpenSSL did not produce a secure random number.');
}
}
// initialize seed
if (null === $this->seed) {
if (null === $this->seedFile) {
throw new RuntimeException('You need to specify a file path to store the seed.');
}
...
当我检查我的 Laravel 版本时,我的 Laravel 更新到了 4.1.28 版本.
When I check my Laravel version, my Laravel updated to version 4.1.28.
我在 Windows 7 64bit 上使用 wamp.
I use wamp for Windows 7 64bit.
有什么我错过的吗?谢谢.
Is there a something that I missed? Thank you.
推荐答案
@FathurRohman 的回答(移出问题):
The answer by @FathurRohman (moved out of the question):
我正在寻找另一个解决方案,我在这里找到了它 http://laravel.io/forum/04-18-2014-you-need-to-specify-a-file-path-to-store-the-seed
I'am searching another solution and I found it here http://laravel.io/forum/04-18-2014-you-need-to-specify-a-file-path-to-store-the-seed
这导致我没有在我的 php.ini 中启用我的 php_openssl.当我启用此扩展时,请确保启用 openSSL support,而不是 Native OpenSSL support
This caused i am not enable my php_openssl in my php.ini. When I enable this extension, make sure that openSSL support is enable, not Native OpenSSL support
相关文章