Laravel, You need to specify a file path to store the seed(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
这篇关于Laravel,你需要指定一个文件路径来存储种子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Laravel,你需要指定一个文件路径来存储种子


- Laravel 仓库 2022-01-01
- 带有通配符的 Laravel 验证器 2021-01-01
- 如何定位 php.ini 文件 (xampp) 2022-01-01
- 没有作曲家的 PSR4 自动加载 2022-01-01
- 正确分离 PHP 中的逻辑/样式 2021-01-01
- SoapClient 设置自定义 HTTP Header 2021-01-01
- PHP Count 布尔数组中真值的数量 2021-01-01
- 从 PHP 中的输入表单获取日期 2022-01-01
- Mod使用GET变量将子域重写为PHP 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01