I am trying to install symfony
2.4.1 from a composer.json
file using the following command:
php composer.phar install
I run this command from the root directory which contains the composer.json
file (var/www/projectname/)
A few packages are installed correctly. When installing the Doctrine package, I get the following error:
InvalidArgumentException $from (/var/www/projectname/bin/doctrine) and $to () must be absolute paths.
This is what i already tried:
- running php composer.phar selfupdate (now newest version)
- running php composer.phar update
- running php composer.phar install
Removed whole project (including composer.json) and ran a new install using composer.phar create-project symfony/framework-standard-edition /var/www/[PROJECTNAME] 2.4.* --prefer-dist
one adition: I use vagrant using virtual box with a windows 7 share. And I'm running the commands through ssh.
Here you'll find the error report http://pastebin.com/rFk4vfnL
This is the output of php --version:
PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
php --version
andphp --re
. Thanks! – Lars Strojny