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

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

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

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

composer

Composerとは、PHP5.3.2以上で使用可能なパッケージ管理ツールです。指定ディレクトリ内だけでパッケージ管理します。

Q&A

解決済

1回答

3400閲覧

composer installでエラーが出る

j-suzuki

総合スコア50

CentOS

CentOSは、主にRed Hat Enterprise Linux(RHEL)をベースにした、フリーのソフトウェアオペレーティングシステムです。

composer

Composerとは、PHP5.3.2以上で使用可能なパッケージ管理ツールです。指定ディレクトリ内だけでパッケージ管理します。

0グッド

0クリップ

投稿2017/06/09 13:55

webアプリを入れたくて、composerでインストールしているですが、エラーが最後に出ます。どのように回避したら知っている方いたら教えてください。宜しくお願いします。

[root@suzunet frontend]# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 51 installs, 0 updates, 0 removals

  • Installing symfony/polyfill-apcu (v1.3.0): Loading from cache
  • Installing symfony/class-loader (v2.8.22): Loading from cache
  • Installing phpdocumentor/reflection-docblock (2.0.5): Loading from cache
  • Installing symfony/translation (v2.7.29): Loading from cache
  • Installing paragonie/random_compat (v1.4.2): Loading from cache
  • Installing symfony/security-core (v2.7.29): Loading from cache
  • Installing symfony/routing (v2.7.29): Loading from cache
  • Installing symfony/process (v2.7.29): Loading from cache
  • Installing symfony/polyfill-mbstring (v1.3.0): Loading from cache
  • Installing symfony/http-foundation (v2.7.29): Loading from cache
  • Installing symfony/event-dispatcher (v2.8.22): Loading from cache
  • Installing psr/log (1.0.2): Loading from cache
  • Installing symfony/debug (v2.7.29): Loading from cache
  • Installing symfony/http-kernel (v2.7.29): Loading from cache
  • Installing symfony/finder (v2.7.29): Loading from cache
  • Installing symfony/dom-crawler (v2.7.29): Loading from cache
  • Installing symfony/css-selector (v2.7.29): Loading from cache
  • Installing symfony/console (v2.7.29): Loading from cache
  • Installing symfony/browser-kit (v2.7.29): Loading from cache
  • Installing swiftmailer/swiftmailer (v5.4.8): Loading from cache
  • Installing stack/builder (v1.0.4): Loading from cache
  • Installing predis/predis (v0.8.7): Loading from cache
  • Installing phpseclib/phpseclib (0.3.10): Loading from cache
  • Installing patchwork/utf8 (v1.3.1): Loading from cache
  • Installing nesbot/carbon (1.22.1): Loading from cache
  • Installing monolog/monolog (1.22.1): Loading from cache
  • Installing nikic/php-parser (v0.9.5): Loading from cache
  • Installing jeremeamia/superclosure (1.0.2): Loading from cache
  • Installing ircmaxell/password-compat (v1.0.4): Loading from cache
  • Installing filp/whoops (1.1.10): Loading from cache
  • Installing d11wtq/boris (v1.0.10): Loading from cache
  • Installing symfony/filesystem (v2.8.22): Loading from cache
  • Installing classpreloader/classpreloader (1.0.2): Loading from cache
  • Installing laravel/framework (v4.2.22): Loading from cache
  • Installing barryvdh/laravel-ide-helper (v1.11.6): Loading from cache
  • Installing erusev/parsedown (dev-master 728952b): Loading from cache
  • Installing mobiledetect/mobiledetectlib (2.8.25): Loading from cache
  • Installing jaybizzle/crawler-detect (v1.2.45): Loading from cache
  • Installing jenssegers/agent (v2.5.1): Loading from cache
  • Installing bacon/bacon-qr-code (1.0.1): Loading from cache
  • Installing simplesoftwareio/simple-qrcode (1.1.1): Loading from cache
  • Installing strebl/adldap (v4.0.5): Loading from cache
  • Installing thiagoalessio/tesseract_ocr (1.1.0): Loading from cache
  • Installing webpatser/laravel-uuid (1.5): Loading from cache
  • Installing doctrine/lexer (v1.0.1): Loading from cache
  • Installing doctrine/annotations (v1.4.0): Loading from cache
  • Installing doctrine/cache (v1.6.1): Loading from cache
  • Installing doctrine/collections (v1.4.0): Loading from cache
  • Installing doctrine/inflector (v1.1.0): Loading from cache
  • Installing doctrine/common (v2.7.2): Loading from cache
  • Installing doctrine/dbal (v2.5.12): Loading from cache

phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
symfony/translation suggests installing symfony/config ()
symfony/translation suggests installing symfony/yaml ()
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/security-core suggests installing symfony/validator (For using the user password constraint)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/routing suggests installing symfony/yaml (For using the YAML loader)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/var-dumper ()
predis/predis suggests installing ext-phpiredis (Allows faster serialization and deserialization of the Redis protocol)
phpseclib/phpseclib suggests installing ext-gmp (Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.)
phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a wide variety of cryptographic operations.)
phpseclib/phpseclib suggests installing pear-pear/PHP_Compat (Install PHP_Compat to get phpseclib working on PHP < 4.3.3.)
patchwork/utf8 suggests installing ext-intl (Use Intl for best performance)
patchwork/utf8 suggests installing ext-wfio (Use WFIO for UTF-8 filesystem access on Windows)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
strebl/adldap suggests installing ext-ldap (*)
Package strebl/adldap is abandoned, you should avoid using it. Use adldap2/adldap2 instead.
Generating autoload files

php artisan clear-compiled

Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-install-cmd event returned with error code 1

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

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

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

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

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

guest

回答1

0

ベストアンサー

Mcrypt PHP extension required.

そのままですがな。
yum install php-mcryptってやってからもう一度どうぞ。

投稿2017/06/10 02:03

shi_ue

総合スコア4437

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

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

j-suzuki

2017/06/10 03:12

ありがとうございます。自分はScript php 〜の方に目がいっていて気づきませんでした。 解決しました。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.50%

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

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

質問する

関連した質問