Nmail PHP
제품소개
데모
다운로드
구입안내
FAQ (21)
Q&A (5649)
사용후기 (19)
Home    Contact us    Sitemap
기술지원안내
FAQ
Q&A 게시판
사용자 팁


nmail@passkorea.net
Home > Support > Q&A > Nmail PHP
Nmail PHP Q&A


제 목 2017 - CentOS8에서 nmail-php-linux-3.1.tgz 설치시 오류
글쓴이 박상진

※ 필수입력정보 ※


▷ 제품버젼 : 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: https://www.passkorea.net/nmailphp/new/nmail-php-linux-3.1.tgz" style="font-size: 10pt;">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

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


       
관련 게시물
번호   제목 글쓴이 등록일 조회수
2017  
박상진
20-09-09 136
   
관리자
20-09-10 66

리스트
번호   제목 글쓴이 등록일 조회수
2017  
박상진
20-09-09 136
   
관리자
20-09-10 66
2016  
알려주세요
20-08-26 233
   
관리자
20-08-26 118
   
알려주세요
20-08-26 109
   
관리자
20-08-26 110
   
알려주세요
20-08-26 108
   
관리자
20-08-26 113
   
알려주세요
20-08-26 105
   
관리자
20-08-26 109
   
알려주세요
20-08-26 113
2015  
(주)유니드, 기존(예사랑)
20-08-25 222
   
관리자
20-08-25 121
2014  
블루넷소프트
20-08-05 172
   
관리자
20-08-19 121
2013  
(주)웨이투원
20-08-03 153
   
관리자
20-08-03 132
2012  
신진IT
20-07-31 161
   
관리자
20-07-31 141
2011  
KSLA
20-07-22 225
◀◀ ◁ | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ▶▶
경남 창원시 마산회원구 내서읍 중리 963번지 한성빌딩 701-1호 I 전화 : 1544-1608 I 팩스 : 055-231-2069