centos에 aws sdk 설치 에러가 발생합니다.
본문
Using version ^3.133 for aws/aws-sdk-php
./composer.json has been updated
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
- aws/aws-sdk-php 3.133.9 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.8 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.7 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.6 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.5 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.47 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.46 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.45 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.44 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.43 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.42 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.41 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.40 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.4 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.39 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.38 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.37 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.36 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.35 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.34 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.33 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.32 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.31 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.30 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.3 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.29 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.28 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.27 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.26 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.25 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.24 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.23 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.22 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.21 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.20 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.19 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.18 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.17 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.16 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.15 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.14 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.13 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.12 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.11 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.10 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- aws/aws-sdk-php 3.133.0 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system.
- Installation request for aws/aws-sdk-php ^3.133 -> satisfiable by aws/aws-sdk-php[3.133.0, 3.133.1, 3.133.10, 3.133.11, 3.133.12, 3.133.13, 3.133.14, 3.133.15, 3.133.16, 3.133.17, 3.133.18, 3.133.19, 3.133.2, 3.133.20, 3.133.21, 3.133.22, 3.133.23, 3.133.24, 3.133.25, 3.133.26, 3.133.27, 3.133.28, 3.133.29, 3.133.3, 3.133.30, 3.133.31, 3.133.32, 3.133.33, 3.133.34, 3.133.35, 3.133.36, 3.133.37, 3.133.38, 3.133.39, 3.133.4, 3.133.40, 3.133.41, 3.133.42, 3.133.43, 3.133.44, 3.133.45, 3.133.46, 3.133.47, 3.133.5, 3.133.6, 3.133.7, 3.133.8, 3.133.9].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php.ini
- /etc/php.d/20-bz2.ini
- /etc/php.d/20-calendar.ini
- /etc/php.d/20-ctype.ini
- /etc/php.d/20-curl.ini
- /etc/php.d/20-exif.ini
- /etc/php.d/20-fileinfo.ini
- /etc/php.d/20-ftp.ini
- /etc/php.d/20-gd.ini
- /etc/php.d/20-gettext.ini
- /etc/php.d/20-iconv.ini
- /etc/php.d/20-mbstring.ini
- /etc/php.d/20-mysqlnd.ini
- /etc/php.d/20-pdo.ini
- /etc/php.d/20-phar.ini
- /etc/php.d/20-sockets.ini
- /etc/php.d/20-sqlite3.ini
- /etc/php.d/20-tokenizer.ini
- /etc/php.d/30-mysql.ini
- /etc/php.d/30-mysqli.ini
- /etc/php.d/30-pdo_mysql.ini
- /etc/php.d/30-pdo_sqlite.ini
- /etc/php.d/40-json.ini
- /etc/php.d/40-zip.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.
==================================================================
composer require aws/aws-adk-php <-- 이 명령어를 실행해서
aws sdk를 설치하려고 하는데요 위와 같이 에러가 주~~~~욱떠서 당황스럽네요 ㅠㅠ
어떤 오류인지 감을 못잡겠습니다. 해결 방법 좀 알려주세요..ㅠㅠ
답변 2
위에 오류가 나와있네요
requires ext-simplexml
패키지명이 맞는지 모르겠는데 아래와 같이 해보세요
yum install php-xml
sudo apt-get install php-xml