Home
Contact us
Sitemap
제품소개
다운로드
기술지원
구입안내
고객안내
Nmail PHP
Nmail PHP
Nmail NET
Nmail ASP
기술지원안내
FAQ
Q&A
사용자팁
Nmail PHP
공지사항
고객&파트너
기술지원안내
FAQ
Q&A 게시판
사용자 팁
Home
> Support
> Q&A
>
Nmail PHP
Nmail PHP Q&A
※
기술문의
는
자세한 상황
을 적어주셔야 하며,
구입문의
는
전화
나
메일
로 부탁드립니다.
글쓴이
제목
php.ini에 아래 사항 적용하시고 진행해보시기 바랍니다.<div>error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_USER_DEPRECATED & ~E_STRICT & ~E_WARNING</div><div><br></div><div>추가로 php는 7.0까지만 지원합니다.<br><br><br> -------------------- Original message --------------------<br> <style>P, UL, LI { margin: 0px 0px 0px 0px; }</style> <p>※ 필수입력정보 ※</p> <br> <p>▷ 제품버젼 : nmail-php-3.1_install.php</p><p><span style="font-size: 13.3333px;"> o OS: CentOS Linux release 8.1.1911 (Core), 64bit</span></p><p><span style="font-size: 13.3333px;"> o Apache: Apache/2.4.37 (centos)</span></p><p><span style="font-size: 13.3333px;"> o Language: PHP 7.2.24 (cli) (built: Oct 22 2019 08:28:36) ( NTS )</span></p><p><span style="font-size: 13.3333px;"> o MariaDB: 10.3.17-MariaDB MariaDB Server</span></p><p><span style="font-size: 13.3333px;"> o NMail: </span><a href="https://www.passkorea.net/nmailphp/new/nmail-php-linux-3.1.tgz" style="font-size: 10pt;"><span class="link_bold">nmail-php-linux-3.1.tgz</span></a></p><a></a> <p>▷ 오류발생 메뉴/주소 : /usr/bin/php nmail-php-3.1_install.php</p> <p>▷ 에러메세지 : </p><p>최초 설치시 <span style="font-size: 10pt;">/usr/bin/php nmail-php-3.1_install.php 실행시 오류가 발생하는데 원인이 궁금합니다.</span></p> <div><div><span style="font-size: 13.3333px;">==============================================================================</span></div><div><span style="font-size: 13.3333px;">= [1] 설치시 사용될 정보를 입력합니다.</span></div><div><span style="font-size: 13.3333px;">==============================================================================</span></div><div><span style="font-size: 13.3333px;">괄호로 둘러 쌓인 항목( [nmail2] )은 엔터만 입력하면 지정되는 기본값입니다.</span></div><div><span style="font-size: 13.3333px;">특별한 사유가 없다면 가급적 기본값으로 설치하는 것을 권장해드립니다.</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">- 엔메일 기본 도메인 : ***.co.kr</span></div><div><span style="font-size: 13.3333px;"> (설치완료후 관리툴에서 변경가능)</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">- 엔메일 설치 디렉토리 : /home/nmail2</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div></div><div>.....</div><div>.....</div><div><div><span style="font-size: 13.3333px;">==============================================================================</span></div><div><span style="font-size: 13.3333px;">= [15] 메일엔진 관리자 비밀번호를 설정합니다.</span></div><div><span style="font-size: 13.3333px;">==============================================================================</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"> /var/MailRoot/ctrlaccounts.tab</span></div><div><span style="font-size: 13.3333px;">메일엔진 관리자 비밀번호는 이미 설정되었습니다.</span></div></div><div>.....</div><div>.....</div><div><div><span style="font-size: 13.3333px;">==============================================================================</span></div><div><span style="font-size: 13.3333px;">= [19] 설정파일들을 테스트합니다.</span></div><div><span style="font-size: 13.3333px;">==============================================================================</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">[경고] 엔메일 설치작업이 중단되었습니다.</span></div><div><span style="font-size: 13.3333px;"> 아래 문구를 확인하셔서 조치후 설치프로그램을 다시 실행하시면 됩니다.</span></div><div><span style="font-size: 13.3333px;">=></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div></div><div>계속...</div><div>맨끝에..</div><div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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</span></div><div><span style="font-size: 13.3333px;"><br></span></div><div><span style="font-size: 13.3333px;">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.</span></div><div><span style="font-size: 13.3333px;"> 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</span></div></div><div><br></div><div>이렇게 오류가 발생하면서 종료가 됩니다.</div><div>실제 mariadb는 연결해서 보면 nmail2 라는 db는 생성되어 있고, Tables, views등은 아무것도 없습니다.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div> <p>▷ 질문내용 : </p><p><span style="font-size: 13.3333px;">MariaDB 설정이 문제인지.. </span><span style="font-size: 10pt;">/usr/bin/php nmail-php-3.1_install.php 실행시 오류 원인이 궁금합니다.</span></p><p><span style="font-size: 13.3333px;">웹으로 메일서버 접속해보면 아래와 같이 에러가 나옵니다.</span></p><p><b>Warning</b>: Use of undefined constant ADMIN_EMAIL_NAME - assumed 'ADMIN_EMAIL_NAME' (this will throw an Error in a future version of PHP) in <b>/home/nmail2/nmail/include/global_var.php</b> on line <b>12</b><br><br><b>Warning</b>: Use of undefined constant SMTP_ADDR - assumed 'SMTP_ADDR' (this will throw an Error in a future version of PHP) in <b>/home/nmail2/nmail/include/global_var.php</b> on line <b>20</b><br><br><b>Warning</b>: Use of undefined constant SMTP_PORT - assumed 'SMTP_PORT' (this will throw an Error in a future version of PHP) in <b>/home/nmail2/nmail/include/global_var.php</b> on line <b>21</b><br><br><b>Warning</b>: Use of undefined constant DB_HOST - assumed 'DB_HOST' (this will throw an Error in a future version of PHP) in <b>/home/nmail2/nmail/include/global_db.php</b> on line <b>5</b><br><br><b>Warning</b>: Use of undefined constant DB_NAME - assumed 'DB_NAME' (this will throw an Error in a future version of PHP) in <b>/home/nmail2/nmail/include/global_db.php</b> on line <b>6</b><br></p><p><b>...</b></p><p><b>Fatal error</b>: 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 <b>Unknown</b> on line <b>0</b></p><p><b>맨 끝에 내용은 위와 같습니다.</b></p></div>
비밀번호
패스코리아넷
경남 창원시 마산회원구 내서읍 중리상곡로 129, 한성빌딩 701호
메일 문의 :
nmail@passkorea.net
I 전화 : 1544-1608 I 팩스 : 055-231-2069
사업자 등록번호 : 608-25-32288 I 대표자 : 빈경윤