Skip to content

Conversation

@peter279k
Copy link
Contributor

Reopen PR #85.

Changed log

  • Update the composer execution path on NewCommand::findComposer command.

Actually, the original php compoer.phar string result is not correct.

And this will not specify the current path to let PHP binary know where the composer.phar can execute.

It should use the current composer path to tell PHP binary to execute composer.phar.

Instruction

Environment

  • Ubuntu 18.04
  • composer version is 1.8.4.

Here are steps about reproducing the issue.

  • Firstly, we use the composer require laravel/installer command.
  • Then using the vendor/bin/laravel new blog to create the new Laravel project.
  • It will get the error message in following image during building the Laravel project.

image

@driesvints driesvints changed the title Update composer path on findComposer [5.9] Update composer path on findComposer Mar 18, 2019
@driesvints driesvints changed the title [5.9] Update composer path on findComposer Update composer path on findComposer Mar 18, 2019
@taylorotwell taylorotwell merged commit 46d7b69 into laravel:master Mar 18, 2019
@peter279k peter279k deleted the update_composer_path branch April 22, 2019 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants