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
<
You just need to go to php.ini find openSSL and enable it. then restart wamp all servcies
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
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 ;
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
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.