xe 설치하기

시스템 2018. 8. 10. 21:13

== 환경정보

OS : ubuntu 14.04.5 LTS x64

nginx 1.12.1

php 7.1.10 fpm

PHP 7.1.10-1+ubuntu14.04.1+deb.sury.org+1 (cli) (built: Sep 29 2017 17:33:22) ( NTS )

Copyright (c) 1997-2017 The PHP Group

Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies

    with Zend OPcache v7.1.10-1+ubuntu14.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies


mysql 5.7

mysql  Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using  EditLine wrapper


xe : 1.8.46



127.0.0.1/xe 접속시 xml_parser 오류 발생

2017/10/28 23:21:18 [error] 2422#2422: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/html/xe/classes/xml/XmlParser.class.php:128

// 다음과 같이 php-xml 설치하면 알아서 Php7.1관련모듈을 함께 설치해 줌
sudo apt-get install php-xml 

이후 127.0.0.1/xe 접속시 설치 페이지는 정상적으로 뜨지만 설치 조건 확인에서 다음과 같은 경고가 발생

퍼미션 :  불가능

[필수] XE의 설치 경로 또는 ./files 디렉토리의 퍼미션이 707이어야 합니다.

GD 라이브러리 :  불가능

이미지변환 기능을 사용하기 위해 GD라이브러리가 설치되어 있어야 합니다. 

// php-gd 라이브러리 설치

sudo apt-get install php-gd

// xe 폴더에 가서 다음과 같이 files 폴더 생성 및 권한 설정

mkdir files

chmod 707 ./files


XE 설치 가능함을 확인


xe에서 사용할 계정 생성

grant all privileges on DB명.* to ID입력@localhost identified by '암호입력' with grant option;


다음과 같은 오류 발생

'' template file does not exists 

layout이 없어서 발생하는 문제. 

기존의 xe 사이트 데이터를 mysqldump로 받아와서 복원했는데 xe는 신규 버전으로 설치해서 기존에 사용하던 layout이 없는가보다

모바일 웹으로 접속해서 Layout을 default로 변경 후 문제가 해결 됨.


AND