vps xe 설치 중 오류;

기존 xe

http://133.130.96.128/html/

 

순정?

http://133.130.96.128/xe/

 

라이믹스

http://133.130.96.128/rm

 

Fatal error: Uncaught Error: Call to undefined function simplexml_load_string() in /home/xynex/www/xe/classes/context/Context.class.php:204 Stack trace: #0 /home/xynex/www/xe/index.php(46): Context->init() #1 {main} thrown in/home/xynex/www/xe/classes/context/Context.class.php on line 204

 

이런 오류 메시지가 뜹니다. 서버에서 뭘 안해줘서 그런 건가요?;

 


 

라이믹스는 좀 다른데..

 


Fatal error: Uncaught Error: Call to undefined function xml_parser_create() in /home/xynex/www/rm/classes/xml/XmlParser.class.php:128 Stack trace: #0 /home/xynex/www/rm/classes/xml/XmlLangParser.class.php(121): XmlParser->parse('<?xml version='...') #1 /home/xynex/www/rm/classes/xml/XmlLangParser.class.php(75): XmlLangParser->_compile() #2 /home/xynex/www/rm/classes/context/Context.class.php(1004): XmlLangParser->compile() #3 /home/xynex/www/rm/classes/context/Context.class.php(934): Context->_loadXmlLang('/home/xynex/www...') #4 /home/xynex/www/rm/classes/context/Context.class.php(341): Context::loadLang('/home/xynex/www...') #5 /home/xynex/www/rm/index.php(47): Context->init() #6 {main} thrown in/home/xynex/www/rm/classes/xml/XmlParser.class.php on line 128

  • profile
    PHP에 XML 모듈이 설치되지 않은 것 같네요. XE는 XML이 필수...
  • profile profile
    php xml 모듈 설치로 알아보면 되겠군요. 감사합니다. ㅎ
  • profile profile
    yum install php-xml -y --enablerepo=remi-php70

    이렇게 하나씩 해줘야 하는 거군요 ㅠ
  • profile profile
    /etc/yum.repos.d에 들어가서 remi-php70.repo를 열고 [remi-php70] 아래 enabled값을 1로 바꾼 후 저장하면 yum에 --enablerepo 옵션을 쓰지 않아도 remi-php70 저장소에서 긁어 옵니다.
  • profile profile
    감사합니다. (__)/;;