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


Home > Support > Q&A > Nmail PHP
Nmail PHP Q&A


제 목 Re: CentOS8에서 nmail-php-linux-3.1.tgz 설치시 오류
글쓴이 관리자

php.ini에 아래 사항 적용하시고 진행해보시기 바랍니다.

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED & ~E_STRICT & ~E_WARNING

추가로 php는 7.0까지만 지원합니다.


-------------------- Original message --------------------

※ 필수입력정보 ※


▷ 제품버젼 : 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

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


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

리스트
번호   제목 글쓴이 등록일 조회수
2024  
인터넷나야나
20-11-13 3100
   
관리자
20-11-13 2937
2023  
페이머스워커
20-10-30 3301
   
관리자
20-10-30 2732
   
페이머스워커
20-10-30 2977
   
관리자
20-10-30 3234
   
페이머스워커
20-11-02 2923
   
관리자
20-11-02 2877
2022  
류승현
20-10-30 4491
   
관리자
20-10-30 2799
   
류승현
20-10-30 2457
2021  
궁금이
20-10-27 3048
   
관리자
20-10-27 2564
2020  
범일정보
20-10-26 3040
   
관리자
20-10-26 2996
2019  
KSIDC
20-10-23 2387
2018  
유오케이
20-10-22 3540
   
관리자
20-10-22 2720
   
유오케이
20-10-22 2832
   
관리자
20-10-22 3058
◀◀ 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | ▶▶
패스코리아넷   경남 창원시 마산회원구 내서읍 중리상곡로 129, 한성빌딩 701호
메일 문의 : nmail@passkorea.net   I   전화 : 1544-1608   I   팩스 : 055-231-2069
사업자 등록번호 : 608-25-32288   I   대표자 : 빈경윤