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

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

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

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

Apache

Apacheは、Apache HTTP Serverの略で、最も人気の高いWebサーバソフトウェアの一つです。安定性が高いオープンソースソフトウェアとして商用サイトから自宅サーバまで、多くのプラットフォーム向けに開発・配布されています。サーバーソフトウェアの不具合(NCSA httpd)を修正するパッチ(a patch)を集積、一つ独立したソフトウェアとして開発されました。

PHP

PHPは、Webサイト構築に特化して開発されたプログラミング言語です。大きな特徴のひとつは、HTMLに直接プログラムを埋め込むことができるという点です。PHPを用いることで、HTMLを動的コンテンツとして出力できます。HTMLがそのままブラウザに表示されるのに対し、PHPプログラムはサーバ側で実行された結果がブラウザに表示されるため、PHPスクリプトは「サーバサイドスクリプト」と呼ばれています。

Q&A

解決済

2回答

4434閲覧

ImageMagickのインストールエラーについて

退会済みユーザー

退会済みユーザー

総合スコア0

CentOS

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

Apache

Apacheは、Apache HTTP Serverの略で、最も人気の高いWebサーバソフトウェアの一つです。安定性が高いオープンソースソフトウェアとして商用サイトから自宅サーバまで、多くのプラットフォーム向けに開発・配布されています。サーバーソフトウェアの不具合(NCSA httpd)を修正するパッチ(a patch)を集積、一つ独立したソフトウェアとして開発されました。

PHP

PHPは、Webサイト構築に特化して開発されたプログラミング言語です。大きな特徴のひとつは、HTMLに直接プログラムを埋め込むことができるという点です。PHPを用いることで、HTMLを動的コンテンツとして出力できます。HTMLがそのままブラウザに表示されるのに対し、PHPプログラムはサーバ側で実行された結果がブラウザに表示されるため、PHPスクリプトは「サーバサイドスクリプト」と呼ばれています。

0グッド

0クリップ

投稿2016/12/15 13:58

■環境
centOS 6.7
Apache 2.2.15
PHP 5.6.29
PEAR 1.10.1

ImageMagickをインストールしたく
http://qiita.com/nusa/items/a5ef11994e5987a0b2d4
を参考に[pear/peclインストール]までを行ないました。

しかし、pecl install imagickを実行すると下記のようなエラーが出力されインストールすることができません。

下記のエラーを解決するにはどうしたらよいのでしょうか。

Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: honorsbaseinstall in Role.php on line 173 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: installable in Role.php on line 139 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: phpfile in Role.php on line 204 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Notice: Undefined index: config_vars in Role.php on line 46 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in PEAR/Command.php on line 249 Warning: Invalid argument supplied for foreach() in /usr/share/pear/PEAR/Command.php on line 249 XML Extension not found

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

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

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

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

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

guest

回答2

0

ベストアンサー

[php-xml]をインストールしたものの、エラーが直らず「php-xml」から検索していったところ
https://teratail.com/questions/52458
の記事を発見し、同じようなエラーが出力されていたので、試したところ無事インストールできました。

投稿2016/12/20 11:18

退会済みユーザー

退会済みユーザー

総合スコア0

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

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

0

XML Extension not found

なので、yumからphp-xmlをインストールしてみてください。

投稿2016/12/16 13:10

bananacoffee

総合スコア260

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

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

退会済みユーザー

退会済みユーザー

2016/12/19 15:24

ありがとうございます。試してみます!
退会済みユーザー

退会済みユーザー

2016/12/20 02:30

[php-xml]をインストールしたものの、エラーが直らず「php-xml」から検索していったところ https://teratail.com/questions/52458 の記事を発見し、同じようなエラーが出力されていたので、試したところ無事インストールできました。
bananacoffee

2016/12/20 02:34

無事解決されて良かったです。 が、この場合私はベストアンサー適用外になるかと思いますので、ここを見た方に誤解を与えないように自己解決としていただければ。
退会済みユーザー

退会済みユーザー

2016/12/20 11:17

丁寧に使い方をご教示いただき、ありがとうございます。 自己解決とさせていただきます。
guest

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

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

ただいまの回答率
85.51%

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

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

質問する

関連した質問