Extra Form
PHP PHP 7.2
CMS XpressEngine
2018/11/09 10:56:47 [error] 26695#26695: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /home/testuser/www/classes/xml/XmlParser.class.php:128
Stack trace:
#0 /home/testuser/www/classes/xml/XmlLangParser.class.php(121): XmlParser->parse('<?xml version='...')
#1 /home/testuser/www/classes/xml/XmlLangParser.class.php(75): XmlLangParser->_compile()
#2 /home/testuser/www/classes/context/Context.class.php(932): XmlLangParser->compile()
#3 /home/testuser/www/classes/context/Context.class.php(862): Context->_loadXmlLang('/home/testuser/www...')
#4 /home/testuser/www/classes/context/Context.class.php(332): Context->loadLang('/home/testuser/www...')
#5 /home/testuser/www/index.php(46): Context->init()
#6 {main}
  thrown in /home/testuser/www/classes/xml/XmlParser.class.php on line 128" while reading response header from upstream, client: 119.41.142.202, server: www.testuser.net, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/pool.testuser.sock:", host: "www.testuser.net"

 

흠. nginx 세팅 문제일듯 싶은데요..

phpinfo.php는 떴는데 xe는 안뜨고 

페이지가 작동하지 않습니다 라고 페이지에 나타나고 error.log에는 위와 같이 뜹니다. 어떻게 잡을 수 있을까요?;

  • ?
    엄..혹시 PHP 5.6 쓰시나요?
    https://serverfault.com/questions/797469/php-5-6-undefined-function-xml-parser-create
    비슷한 질문인것 같아서 좌표 찍습니다.
  • ? profile
    감사합니다.
    apt install php-xml-parser
    apt install php7.2-xml

    php에서 xml 모듈 설치 문제였군요 ㅠㅠ
    해결했습니다.
  • profile ?
    해결되었다니 다행이군요!