Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,167 members, 7,815,071 topics. Date: Thursday, 02 May 2024 at 06:46 AM

Composer Installation Giving Errors , Please Help - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Composer Installation Giving Errors , Please Help (3399 Views)

Who Knows How To Edit A Wordpress Website And Work With Visual Composer / Check Out This Forum Now..offer Help And Corrrect Errors Fast... / I Need Help On Pdoexception Errors (2) (3) (4)

(1) (2) (Reply) (Go Down)

Composer Installation Giving Errors , Please Help by cbrass(m): 1:16pm On Aug 12, 2016
am trying to install composer on my windows 8.1 and its giving these errors

The PHP exe file you specified did not run correctly [exit code 1]:
C:\wamp\bin\php\php5.5.12\php.exe
Re: Composer Installation Giving Errors , Please Help by Nobody: 3:18pm On Aug 12, 2016
Go to command prompt and type
Install composer
Re: Composer Installation Giving Errors , Please Help by cbrass(m): 4:48pm On Aug 12, 2016
proxy20:
Go to command prompt and type
Install composer

Will try it
Re: Composer Installation Giving Errors , Please Help by cbrass(m): 12:27pm On Aug 16, 2016
Hasn't anyone used composer here before ni
Re: Composer Installation Giving Errors , Please Help by Nobody: 5:22pm On Aug 16, 2016
On windows it should be php composer.phar install unless you are on UNIX environment
Re: Composer Installation Giving Errors , Please Help by Nobody: 6:43pm On Aug 16, 2016
Download composer set up and go to command prompt (and)

Type

Composer install

Make sure u are connected to internet
Type
php artisan

To see all command
Re: Composer Installation Giving Errors , Please Help by Nobody: 7:40pm On Aug 16, 2016
pcguru1:
On windows it should be php composer.phar install unless you are on UNIX environment
without composer.phar it will never work, as far as i know. e don tay wey i don do am, cant remember the steps right now.
Re: Composer Installation Giving Errors , Please Help by Nobody: 7:51pm On Aug 16, 2016
proxy20:
Download composer set up and go to command prompt (and)

Type

Composer install

Make sure u are connected to internet
Type
php artisan

To see all command

artisan that's a Laravel command and you're assuming he has artisan in his usr/bin/ clearly u are either a mac/Linux dev user but he's using windows so that won't work.


1. Make sure you've added php.exe to the PATH variable, am assuming you know how to do this

2. go to composer folder like my screenshot

3. try php composer.phar -h ignore sudo unless you are on mac or linux


But the main check should to try running php -i first in command line and see what you get

Re: Composer Installation Giving Errors , Please Help by cbrass(m): 10:53pm On Aug 16, 2016
dhtml18:

without composer.phar it will never work, as far as i know. e don tay wey i don do am, cant remember the steps right now.

Na everything you don forget, wetin u remember sef

2 Likes 1 Share

Re: Composer Installation Giving Errors , Please Help by cbrass(m): 10:59pm On Aug 16, 2016
pcguru1:


artisan that's a Laravel command and you're assuming he has artisan in his usr/bin/ clearly u are either a mac/Linux dev user but he's using windows so that won't work.


1. Make sure you've added php.exe to the PATH variable, am assuming you know how to do this

2. go to composer folder like my screenshot

3. try php composer.phar -h ignore sudo unless you are on mac or linux


But the main check should to try running php -i first in command line and see what you get


How can this be possible when the composer hasn't installed, a folder can't be created, I Dowloaded the setup and just double clicked the icon to install

1 Like

Re: Composer Installation Giving Errors , Please Help by Nobody: 6:52am On Aug 17, 2016
cbrass:


How can this be possible when the composer hasn't installed, a folder can't be created, I Dowloaded the setup and just double clicked the icon to install

It means you are doing it wrong dhtml and I said all you need is the composer.phar meaning you have to download a PHP archive file, I have never seen a composer setup exe before. Get the composer.phar before anything that's why I sent a screenshot
Re: Composer Installation Giving Errors , Please Help by Nobody: 7:21am On Aug 17, 2016
pcguru1:


artisan that's a Laravel command and you're assuming he has artisan in his usr/bin/ clearly u are either a mac/Linux dev user but he's using windows so that won't work.


1. Make sure you've added php.exe to the PATH variable, am assuming you know how to do this

2. go to composer folder like my screenshot

3. try php composer.phar -h ignore sudo unless you are on mac or linux


But the main check should to try running php -i first in command line and see what you get


You know there are two method the global and local method.
Re: Composer Installation Giving Errors , Please Help by Nobody: 7:24am On Aug 17, 2016
pcguru1:


It means you are doing it wrong dhtml and I said all you need is the composer.phar meaning you have to download a PHP archive file, I have never seen a composer setup exe before. Get the composer.phar before anything that's why I sent a screenshot

I downloaded the setup not using command Prompt To download composer. Check you will see the setup in installation guide.
Re: Composer Installation Giving Errors , Please Help by Nobody: 7:29am On Aug 17, 2016
proxy20:


You know there are two method the global and local method.

My global method for me won't work for you guys because I am using Linux I don't know how to do that in windows that's why I dropped local method
Re: Composer Installation Giving Errors , Please Help by Nobody: 7:40am On Aug 17, 2016
Just saw the global method forget the installation and follow the manual route. Once you added the system path remember to close and open command prompt again
Re: Composer Installation Giving Errors , Please Help by Nobody: 2:02pm On Aug 17, 2016
pcguru1:
Just saw the global method forget the installation and follow the manual route. Once you added the system path remember to close and open command prompt again
You have to install composer


Composer install

Then you install laravel using it's installer



composer global require "laravel/installer"
Re: Composer Installation Giving Errors , Please Help by Nobody: 3:12pm On Aug 17, 2016
wait is the guy trying to install Composer or Laravel i don't get how laravel is related to this anyway just refer to the doc on composer.org sorry about the global mode have no idea about that on Win
Re: Composer Installation Giving Errors , Please Help by Nobody: 4:02pm On Aug 17, 2016
pcguru1:
wait is the guy trying to install Composer or Laravel i don't get how laravel is related to this anyway just refer to the doc on composer.org sorry about the global mode have no idea about that on Win


Just a sample. I don't even know what he is trying to use composer to install .
Re: Composer Installation Giving Errors , Please Help by cbrass(m): 2:51pm On Aug 18, 2016
pcguru1:


It means you are doing it wrong dhtml and I said all you need is the composer.phar meaning you have to download a PHP archive file, I have never seen a composer setup exe before. Get the composer.phar before anything that's why I sent a screenshot

Bro it exits o, in fact according to the video I watched the guy just downloaded it and installed straight away, although u can install it another way ,
Re: Composer Installation Giving Errors , Please Help by cbrass(m): 2:53pm On Aug 18, 2016
proxy20:


Just a sample. I don't even know what he is trying to use composer to install .

Want to use it to install facebook sdk
Re: Composer Installation Giving Errors , Please Help by dogstyle007(m): 2:52am On Sep 02, 2016
pcguru1:


artisan that's a Laravel command and you're assuming he has artisan in his usr/bin/ clearly u are either a mac/Linux dev user but he's using windows so that won't work.


1. Make sure you've added php.exe to the PATH variable, am assuming you know how to do this

2. go to composer folder like my screenshot

3. try php composer.phar -h ignore sudo unless you are on mac or linux


But the main check should to try running php -i first in command line and see what you get

pls what O.S are you running at d screenshot
Re: Composer Installation Giving Errors , Please Help by Nobody: 5:33am On Sep 02, 2016
dogstyle007:
pls what O.S are you running at d screenshot

Linux
Re: Composer Installation Giving Errors , Please Help by dogstyle007(m): 3:06pm On Sep 02, 2016
pcguru1:


Linux
Nice.... what version of Linux ?
Re: Composer Installation Giving Errors , Please Help by Nobody: 3:25pm On Sep 02, 2016
dogstyle007:
Nice.... what version of Linux ?

Well this one is KUbuntu but am running KDE Plasma 5 UI and also XFCE, but my other laptop runs KDE Plasma only
Re: Composer Installation Giving Errors , Please Help by Nobody: 3:29pm On Sep 02, 2016
pcguru1:


Well this one is KUbuntu but am running KDE Plasma 5 UI and also XFCE, but my other laptop runs KDE Plasma only
Wow!
Re: Composer Installation Giving Errors , Please Help by dogstyle007(m): 3:37pm On Sep 02, 2016
pcguru1:


Well this one is KUbuntu but am running KDE Plasma 5 UI and also XFCE, but my other laptop runs KDE Plasma only
oh i see... its cool... love the UI... i'm currently running Ubuntu 16... dual booting with win10
Re: Composer Installation Giving Errors , Please Help by Nobody: 3:48pm On Sep 02, 2016
dogstyle007:
oh i see... its cool... love the UI... i'm currently running Ubuntu 16... dual booting with win10

same here, KDE Plasma is way better than Unity, it comes with all the essential apps you need unlike Unity and it's easy to use the Plasma Ui compared to unity and that means you get Qt libraries already. i love it alot
Re: Composer Installation Giving Errors , Please Help by Nobody: 6:40pm On Sep 02, 2016
pcguru1:


same here, KDE Plasma is way better than Unity, it comes with all the essential apps you need unlike Unity and it's easy to use the Plasma Ui compared to unity and that means you get Qt libraries already. i love it alot

I'm kinda stuck to Ubuntu due to LTS amongst other reasons plus I use gtk and gnome for GUI PHP CLI programs.

1 Like

Re: Composer Installation Giving Errors , Please Help by dogstyle007(m): 10:22pm On Sep 02, 2016
pcguru1:


same here, KDE Plasma is way better than Unity, it comes with all the essential apps you need unlike Unity and it's easy to use the Plasma Ui compared to unity and that means you get Qt libraries already. i love it alot
ok nice.... i might switch to it then... its really cool
Re: Composer Installation Giving Errors , Please Help by Nobody: 1:46pm On Oct 07, 2016
DanielTheGeek:


I'm kinda stuck to Ubuntu due to LTS amongst other reasons plus I use gtk and gnome for GUI PHP CLI programs.

Lol you don't wanna know how many times i've messed up my distro just by switching to the lastest version i will advice to chill on LTS not worth the headache
Re: Composer Installation Giving Errors , Please Help by luksybee(m): 2:51pm On Oct 07, 2016
this is f**ckin crazy. Non of you has really given the op a reasonable solution.

@op, dont you take time to see requirements?

System Requirements
Composer requires PHP 5.3.2+ to run. A few sensitive php settings and compile flags are also required, but when using the installer you will be warned about any incompatibilities.
Re: Composer Installation Giving Errors , Please Help by Nobody: 3:07pm On Oct 07, 2016
^^^that is not complete either, what the f^ck? you came in here like a cowboy, but sorry, you have just got shot

(1) (2) (Reply)

Django Programmers Thread / Please What Are The Benefits Of Learning Php And Mysql. Please I Need Advice / Python Django Android...

(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. 38
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.