• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    해결됨

PHP MyAdmin 오류

21.08.03 00:59 작성 조회수 130

0

Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: xml

라고 계속 뜹니다. 다른 질문에서 보여줬던 url에서 가져온 코드도 userdata에 다 넣고 다시 인스턴스를 실행해보았지만 똑같습니다. yum install xml을 치게 되면

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd

You need to be root to perform this command. 

위와 같이 뜹니다.

어떤 식으로 해결할 수 있는지 가르쳐 주시면 감사할거 같습니다... 전혀 해결이 되지 않습니다.

답변 1

답변을 작성해보세요.

0

안녕하세요.  toqur7000 님. 

문의주신 phpmyadmin 오류 부분 첫번째는

Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: xml

PHP Composer 가 Install 되지 않아서 나오는 오류인데요.

EC2 에 SSH 로그인해서 root 또는 sudo 명령으로 아래 참조 링크에서 보이는 명령을 1개 라인씩 실행해보시기 바랍니다. EC2 생성시 userdata 에 스크립트를 추가했는 데도 안된다면 1개 라인씩 실행하는 방법으로 해보셔야 하고 실제로도 스크립트 실행 확인은 이렇게 해야 될 것 같습니다.

참조 링크 : https://bit.ly/Userdata

두번째는 

Loaded plugins: extras_suggestions, langpacks, priorities, update-motd

You need to be root to perform this command. 

yum install xml 명령 실행시 root 가 아닌 ec2-user 에서 실행한 것으로 보여집니다.

sudo su - : root 로 전환해서 명령을 실행하시던가 sudo yum install xml 처럼 sudo 명령을 실행해야 할 것 같습니다.

감사합니다.