|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,869,235 members, 6,886,261 topics. Date: Sunday, 29 May 2022 at 01:14 AM
|Laravel Issue by Nobody: 10:56am On Jul 18, 2016|
Hello Fellow coders,
I am having issues installing composer so as to run Laravel on Localhost.. I am running on Windows 7 and I also use Uwamp server(a light version of wampserver).
I have downloaded composer setup and the problem is that during installation, I run into this error:
Openssl extension missing....
I have tried checking whether it is checked on my webserver php settings and it is indeed checked. I have also tried uncommenting this line in php.ini
;extension=php_openssl.dll by removing the semicolon but the issue persists.
Please help thy friend...
|Re: Laravel Issue by jacob05(m): 4:12pm On Jul 18, 2016|
1). Are you sure you're amending the currently used php.ini file use the below to check
2). Is the Uwamp server compiled with the Openssl included?
|Re: Laravel Issue by guru01(m): 9:05pm On Jul 18, 2016|
elpedro:I think the light weight version doesn't come with openssl bundled.
You can either install the standard version or find where you can download the openssl .DLL file and put it in the php extension directory, then uncomment the code in the php.INI file.
|Re: Laravel Issue by Nobody: 9:37pm On Jul 18, 2016|
I can't say if Uwamp server is compiled with Openssl included .. And I really made amends on the php path.. The error still persists..
Actually, composer installation worked when I used Usbwebserver.. I later dumped it because Usbwebserver has php5.3 support only which ain't okay for laravel...
I don't really know what I am missing...
|Re: Laravel Issue by Nobody: 9:39pm On Jul 18, 2016|
Nice suggestion bro.. I'll see to that shortly...
|Re: Laravel Issue by tobsbola: 5:00pm On Jul 19, 2016|
try and install anoda version of wamp. u may jst get stucked dere battling with d version of wamp u using.
|Re: Laravel Issue by Nobody: 5:59pm On Jul 19, 2016|
I use wamp 3.0 - that one that has php 5.6.16 and also php 7.0, openssl works very well. I dont have these issues that you are seeing.
So my advise is to upgrade.
Now talking about php.ini, the correct php.ini lie inside a path like this:
And not inside the php folder like this:
However, when using php cli, it is the php.ini inside your php folder i.e. the second one i provided that is used.
So, whatever update you do, update the two.
Again, sometimes the DLL might not be compatible with your system. In that case, check the php logs and see what it says - that can help to know the best advice to follow out of all that have been provided for you.
|Re: Laravel Issue by Nobody: 9:33pm On Jul 19, 2016|
Thanks for your response sire...
I installed Xampp and I was able to run it successfully...
If I download Laravel zipped from github, What is the best way to install it without using composer to download it via command line..??
|Re: Laravel Issue by Nobody: 10:07pm On Jul 19, 2016|
Why not use composer, it is not so hard to install composer on xamp now? it seems like you are trying to skip working on the commandline.
|Re: Laravel Issue by maekhel(m): 5:53am On Jul 20, 2016|
elpedro:Installing via composer is the best way to install Laravel cos if you go through downloading zipped from github, you will still need composer to pull in Laravel dependencies.
|Re: Laravel Issue by Nobody: 6:23am On Jul 20, 2016|
My internet connection is more of an on/off thing... It ain't always steady.. Have you tried installing Laravel offline with its zipped file?? I would love to see how this can be implemented...
|Re: Laravel Issue by maekhel(m): 7:17am On Jul 20, 2016|
elpedro:Nope, I haven't tried it.
|Re: Laravel Issue by Nobody: 9:01am On Jul 20, 2016|
elpedro:It is code-igniter that you can do like that not laravel.
I don't believe that laravel was made to work like that. There are some stuffs just like node.js stuffs that their dependencies are just best pulled via the command-line.
Attempting to copy manually will end up wasting your time, and you will regret it. The zipped things you are talking about, it is internet that you will still use to download now. Just configure your php cli properly, configure your composer and you are good to go.
|Re: Laravel Issue by maekhel(m): 9:28am On Jul 20, 2016|
^^ exactly my point.
|Re: Laravel Issue by guru01(m): 1:23pm On Jul 21, 2016|
elpedro:I have installed laravel 5 without using composer.
Best way is to still have composer installed on your system.
Go to their github repo and download the source file, then extract and place into your server directory which in this case is httpdoc, then configure your htaccess to point to the public folder in laravel install.
Once your xampp is up, best way is to go to their site and follow their installation instruction or sach it on Google.
|Re: Laravel Issue by Nobody: 1:57pm On Jul 21, 2016|
guru01:All hail the sach master. Dude, I am waiting for sach 2.0 to come out o, Nairaland 2.0 is like half-way done already.
|Re: Laravel Issue by guru01(m): 8:07am On Jul 22, 2016|
|Re: Laravel Issue by Nobody: 7:24pm On Jul 25, 2016|
Thanks Y'all... I did it Finally...
I had to CD to:
C:/xampp/htdocs on my cmd
Then I ran:
Composer create-project laravel/laravel laravel --prefer-dist
Erything was installed and I got the app key....
Now I can run php artisan serve
#Felt good though..
|Re: Laravel Issue by jidez007: 8:14pm On Jul 25, 2016|
You can place your Laravel project on any folder. Then use the in built server that came with it, 'php artisan serve'.
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2022 Oluwaseun Osewa. All rights reserved. See How To Advertise. 93