このレコードその中のいくつかの問題がある場合、今日のコードをクローニングした後、作曲をインストールします。
次のようにエラー・コードは次のとおりです。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[root@localhost MarketingCenter]
# composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock
file
Your requirements could not be resolved to an installable
set
of packages.
Problem 1
- Installation request
for
php-amqplib
/php-amqplib
v2.7.0 -> satisfiable by php-amqplib
/php-amqplib
[v2.7.0].
- php-amqplib
/php-amqplib
v2.7.0 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
Problem 2
- php-amqplib
/php-amqplib
v2.7.0 requires ext-bcmath * -> the requested PHP extension bcmath is missing from your system.
- php-amqplib
/thumper
v0.5.0 requires php-amqplib
/php-amqplib
^2.6 -> satisfiable by php-amqplib
/php-amqplib
[v2.7.0].
- Installation request
for
php-amqplib
/thumper
v0.5.0 -> satisfiable by php-amqplib
/thumper
[v0.5.0].
To
enable
extensions, verify that they are enabled
in
your .ini files:
-
/etc/php
.ini
-
/etc/php
.d
/curl
.ini
-
/etc/php
.d
/fileinfo
.ini
-
/etc/php
.d
/json
.ini
-
/etc/php
.d
/phar
.ini
-
/etc/php
.d
/zip
.ini
You can also run `php --ini` inside terminal to see
which
files are used by PHP
in
CLI mode.
|
これは、PHP拡張EXT-bcmathを与えるために増加を示しています
1、次のディレクトリを入力します。
1
|
cd
/usr/local/php/lib
|
図2に示すように、次のコードを実行します
1
|
yum
install
php-bcmath
|
これは、正常にインストールすることができ、
上記のチャートからの問題はまだmbstringのインストールする必要があります
1
|
yum
install
php-mbstring
|
正常にインストールに入力し、
最後に作曲、インストール完了うまく動作を継続し、問題を解決!
あなたは、Ubuntuのを使用している場合
次のコマンドを使用します。
須藤はapt-getのインストールのphp-bcmath