質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.48%
Laravel

LaravelとはTaylor Otwellによって開発された、オープンソースなPHPフレームワークです。Laravelはシンプルで表現的なシンタックスを持ち合わせており、ウェブアプリケーション開発の手助けをしてくれます。

AWS(Amazon Web Services)

Amazon Web Services (AWS)は、仮想空間を機軸とした、クラスター状のコンピュータ・ネットワーク・データベース・ストーレッジ・サポートツールをAWSというインフラから提供する商用サービスです。

Q&A

解決済

2回答

1756閲覧

AWSにてlaraval環境構築

rikoda

総合スコア13

Laravel

LaravelとはTaylor Otwellによって開発された、オープンソースなPHPフレームワークです。Laravelはシンプルで表現的なシンタックスを持ち合わせており、ウェブアプリケーション開発の手助けをしてくれます。

AWS(Amazon Web Services)

Amazon Web Services (AWS)は、仮想空間を機軸とした、クラスター状のコンピュータ・ネットワーク・データベース・ストーレッジ・サポートツールをAWSというインフラから提供する商用サービスです。

0グッド

0クリップ

投稿2017/01/12 13:55

aws無料利用枠でLaravelの環境を構築しようとしていたところ、以下のようなエラーが出ており、困っております。

composer global require "laravel/installer"
Changed current directory to /home/ec2-user/.composer
Using version ^1.3 for laravel/installer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- laravel/installer v1.3.0 requires guzzlehttp/guzzle ~4.0|~5.0|~6.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2].
- laravel/installer v1.3.1 requires guzzlehttp/guzzle ~4.0|~5.0|~6.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2].
- laravel/installer v1.3.2 requires guzzlehttp/guzzle ~4.0|~5.0|~6.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2].
- laravel/installer v1.3.3 requires guzzlehttp/guzzle ~4.0|~5.0|~6.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2].
- laravel/installer v1.3.4 requires guzzlehttp/guzzle ~4.0|~5.0|~6.0 -> satisfiable by guzzlehttp/guzzle[4.0.0, 4.0.1, 4.0.2, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.1.6, 4.1.7, 4.1.8, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.2.4, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.1.0, 5.2.0, 5.3.0, 5.3.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0, 6.2.1, 6.2.2].
- guzzlehttp/guzzle 6.2.2 requires php >=5.5 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.2.1 requires php >=5.5 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.2.0 requires php >=5.5.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.1.1 requires php >=5.5.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.1.0 requires php >=5.5.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.0.2 requires php >=5.5.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.0.1 requires php >=5.5.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 6.0.0 requires php >=5.5.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.3.1 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.3.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.2.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.1.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.0.3 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.0.2 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.0.1 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 5.0.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.2.4 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.2.3 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.2.2 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.2.1 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.2.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.8 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.7 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.6 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.5 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.4 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.3 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.2 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.1 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.1.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.0.2 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.0.1 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- guzzlehttp/guzzle 4.0.0 requires php >=5.4.0 -> your PHP version (5.3.29) does not satisfy that requirement.
- Installation request for laravel/installer ^1.3 -> satisfiable by laravel/installer[v1.3.0, v1.3.1, v1.3.2, v1.3.3, v1.3.4].

Installation failed, deleting ./composer.json.

phpは以下のバージョンです。
PHP 5.3.29 (cli) (built: May 12 2015 22:42:19)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2014 Zend Technologies

よろしくお願いいたします

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

guest

回答2

0

エラーメッセージは読みましたか?
内容は理解しましたか?

PHPのバージョンが低いって言われてるので、PHPのバージョンを上げればよいと思います。

「aws php 5.6 インストール」とかで検索

投稿2017/01/12 15:52

lightwill

総合スコア962

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

rikoda

2017/01/14 08:17

ありがとうございます!申し訳ございませんが、スコアが低い方をベストアンサーとさせていただきました。感謝致します、
guest

0

ベストアンサー

laravelはインストールできていて、composer installを実行しようとしているとお見受けします。

guzzlehttp/guzzle 6.2.2 requires php >=5.5 -> your PHP version (5.3.29) does not satisfy that requirement.

上記のエラーメッセージは、
「composerでインストールしようとしている、guzzle(ライブラリーのことです)はphp5.5以上が必要です。あなたのPHPのversionは5.3.29なので、この条件に満たしていません。」
という旨のエラーメッセージです。

なので他の回答者様の言う通り、PHPのバージョンを5.5以上に上げてから再度トライしてみてください。

投稿2017/01/12 16:42

pipopotamasu

総合スコア14

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.48%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問