Laravel, You need to specify a file path to store the seed

前端 未结 5 2054
我在风中等你
我在风中等你 2020-12-21 14:33

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
<         


        
相关标签:
5条回答
  • 2020-12-21 15:04

    You just need to go to php.ini find openSSL and enable it. then restart wamp all servcies

    0 讨论(0)
  • 2020-12-21 15:08

    i was also getting same error when i try to access my project like

    localhost/myproject/
    

    Let me tell you my case:-
    1.)i was install my laravel project on lamp server and after some time i move project to xampp server.

    2.)i try to access project and then i get this SEXY error :). Then i go to my php.ini file in (xampp server) and change setting of OpenSSL support to enable and i get rid off that error.

    3.)When i echo phpinfo() i get o/p like:-

    openssl  
    OpenSSL support             -->**enabled**  
    OpenSSL Library Version     -->**OpenSSL 0.9.8y 5 Feb 2013**  
    OpenSSL Header Version      -->**OpenSSL 0.9.8y 5 Feb 2013**  
    

    that's all i do for enjoy this :) oohh my laravel version is 4.1

    0 讨论(0)
  • 2020-12-21 15:17

    Enabling openSSL in php modules corrects this error. in file (for windows) "C:\wamp\bin\apache\Apache2.4.4\bin\php.ini" enable the "extension=php_openssl.dll" by deleting ;

    0 讨论(0)
  • 2020-12-21 15:18

    The answer by @FathurRohman (moved out of the question):

    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

    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

    0 讨论(0)
  • 2020-12-21 15:19

    This also happened to me and it was beacuse my php version was to low. I was using 5.3.1 and the min was 5.3.7. All was OK when I upgraded.

    0 讨论(0)
提交回复
热议问题