Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,972 members, 7,806,815 topics. Date: Wednesday, 24 April 2024 at 02:02 AM

Laravel Issue - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Laravel Issue (1612 Views)

If You Need A Robust Laravel Application / Laravel Ninjas Lets Meet Here / How To Create Multiple User Authentication In Laravel 5.3 (2) (3) (4)

(1) (Reply) (Go Down)

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.

DHTML18
Guru01
DanieltheGeek
sonoflucifer
jacob05
Booyakasha

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
>php --ini

2). Is the Uwamp server compiled with the Openssl included?
Re: Laravel Issue by guru01(m): 9:05pm On Jul 18, 2016
elpedro:
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.

DHTML18
Guru01
DanieltheGeek
sonoflucifer
jacob05
Booyakasha

Please help thy friend...
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
jacob05:
1). Are you sure you're amending the currently used php.ini file use the below to check
>php --ini

2). Is the Uwamp server compiled with the Openssl included?

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
guru01:

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.

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:
C:\wamp\bin\apache\apache2.4.17\bin\php.ini

And not inside the php folder like this:
C:\wamp\bin\php\php5.6.16\php.ini

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
dhtml18:
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:
C:\wamp\bin\apache\apache2.4.17\bin\php.ini

And not inside the php folder like this:
C:\wamp\bin\php\php5.6.16\php.ini

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.

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:


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..??
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
maekhel:

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.

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:


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...
Nope, I haven't tried it.
Re: Laravel Issue by Nobody: 9:01am On Jul 20, 2016
elpedro:


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...
It is code-igniter that you can do like that not laravel.

maekhel:

Nope, I haven't tried it.

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:


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...
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.

1 Like

Re: Laravel Issue by Nobody: 1:57pm On Jul 21, 2016
guru01:

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.
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
dhtml18:

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.
Can't wait.
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'.

(1) (Reply)

Nairaland Homepage Bug / Post Your Csharp, Cplusplus, Java And Assembly Questions Here. / Place Your App On Google Playstore

(Go Up)

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

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 31
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.