You are not logged in.

#1 2013-01-24 18:33:30

nolsen01
Member
Registered: 2010-05-25
Posts: 8

[SOLVED] How can I install composer with XAMPP?

I'd like to install Composer to work with XAMPP. There is a composer-php package in the AUR but it installs composer to work with php on the system rather than in XAMPP.

XAMPP has a php interpreter in /opt/lampp/bin. When I try to follow the directions given in the Composer link I provided:

[nolsen@Strongarm ~]$ sudo curl -s https://getcomposer.org/installer | /opt/lampp/bin/php
#!/usr/bin/env php
All settings correct for using Composer
Downloading...
Download failed: failed to open stream: Permission denied
Downloading...
Download failed: failed to open stream: Permission denied
Downloading...
Download failed: failed to open stream: Permission denied
The download failed repeatedly, aborting.

SOLVED: instead of using sudo, I used su and everything works fine.

Last edited by nolsen01 (2013-01-24 18:45:09)

Offline

#2 2013-01-24 18:55:44

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED] How can I install composer with XAMPP?

I think you are misreading the installation instructions slightly and have an error in your command line.

You might get more mileage out of installing from the AUR and manually tweaking the PKGBUILD / install to your liking.

Offline

Board footer

Powered by FluxBB