NEW Nmail PHP 3 업그레이드 할인
자세히 보기

CentOS8에서 nmail-php-linux-3.1.tgz 설치시 오류

박*진 2020.09.09 18:44 조회 3302

※ 필수입력정보 ※


▷ 제품버젼 : nmail-php-3.1_install.php

  o OS: CentOS Linux release 8.1.1911 (Core), 64bit

  o Apache: Apache/2.4.37 (centos)

  o Language: PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )

  o MariaDB: 10.3.17-MariaDB MariaDB Server

  o NMail: nmail-php-linux-3.1.tgz

▷ 오류발생 메뉴/주소 : /usr/bin/php nmail-php-3.1_install.php

▷ 에러메세지 : 

최초 설치시 /usr/bin/php nmail-php-3.1_install.php 실행시 오류가 발생하는데 원인이 궁금합니다.

==============================================================================
= [1] 설치시 사용될 정보를 입력합니다.
==============================================================================
괄호로 둘러 쌓인 항목( [nmail2] )은 엔터만 입력하면 지정되는 기본값입니다.
특별한 사유가 없다면 가급적 기본값으로 설치하는 것을 권장해드립니다.

- 엔메일 기본 도메인 : ***.co.kr
  (설치완료후 관리툴에서 변경가능)

- 엔메일 설치 디렉토리 : /home/nmail2

Warning: Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 5

Warning: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 6

Warning: Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 7
.....
.....
==============================================================================
= [15] 메일엔진 관리자 비밀번호를 설정합니다.
==============================================================================

Warning: Use of undefined constant XM_CTRL_P - assumed 'XM_CTRL_P' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/nmail-php-3.1_install.php on line 2279

Warning: Use of undefined constant XM_CTRL_P - assumed 'XM_CTRL_P' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/nmail-php-3.1_install.php on line 2280
  /var/MailRoot/ctrlaccounts.tab
메일엔진 관리자 비밀번호는 이미 설정되었습니다.
.....
.....
==============================================================================
= [19] 설정파일들을 테스트합니다.
==============================================================================

[경고] 엔메일 설치작업이 중단되었습니다.
  아래 문구를 확인하셔서 조치후 설치프로그램을 다시 실행하시면 됩니다.
=>
Warning: Use of undefined constant ADMIN_EMAIL_NAME - assumed 'ADMIN_EMAIL_NAME' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_var.php on line 12

Warning: Use of undefined constant SMTP_ADDR - assumed 'SMTP_ADDR' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_var.php on line 20

Warning: Use of undefined constant SMTP_PORT - assumed 'SMTP_PORT' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_var.php on line 21

Warning: Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 5

Warning: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 6

Warning: Use of undefined constant DB_USER - assumed 'DB_USER' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 7

Warning: Use of undefined constant DB_PASSWORD - assumed 'DB_PASSWORD' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 8
계속...
맨끝에..

Warning: Use of undefined constant PRE_FIX - assumed 'PRE_FIX' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_table.php on line 73

Warning: Use of undefined constant PRE_FIX - assumed 'PRE_FIX' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_table.php on line 74

Fatal error: The file /home/nmail2/nmail/include/mail_lib.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1.
 Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

이렇게 오류가 발생하면서 종료가 됩니다.
실제 mariadb는 연결해서 보면 nmail2 라는 db는 생성되어 있고, Tables, views등은 아무것도 없습니다.





▷ 질문내용 :

MariaDB 설정이 문제인지.. /usr/bin/php nmail-php-3.1_install.php 실행시 오류 원인이 궁금합니다.

웹으로 메일서버 접속해보면 아래와 같이 에러가 나옵니다.

Warning: Use of undefined constant ADMIN_EMAIL_NAME - assumed 'ADMIN_EMAIL_NAME' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_var.php on line 12

Warning: Use of undefined constant SMTP_ADDR - assumed 'SMTP_ADDR' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_var.php on line 20

Warning: Use of undefined constant SMTP_PORT - assumed 'SMTP_PORT' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_var.php on line 21

Warning: Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 5

Warning: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in /home/nmail2/nmail/include/global_db.php on line 6

...

Fatal error: The file /home/nmail2/nmail/include/mail_lib.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1. Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

맨 끝에 내용은 위와 같습니다.

댓글 1
이전 글 첨부파일 메일이 깨집니다. 3 유**이 2020.10.22
다음 글 접속 시 에러 발생 8 알***요 2020.08.26
Loading...