PHP mod_korean extension Reference
  • Introduction
  • Installation
  • APIs
    • Check Functions
      • check_filename_lib
      • check_htmltbale_lib
      • check_uristr_lib
      • get_microtime_lib
      • human_fsize_lib
      • is_email_lib
      • is_hangul_lib
      • is_iis_lib
      • is_url_lib
      • is_windows_lib
      • buildno_lib
      • version_lib
    • Filesystem Functions
      • filelist_lib
      • getfile_lib
      • getfiletype_lib
      • putfile_lib
      • readfile_lib
      • pcregrep_lib
    • HTML Functions
      • agentinfo_lib
      • autolink_lib
      • get_hostname_lib
      • movepage_lib
      • perror_lib
      • pnotice_lib
    • Charset Functions
      • ncrencode_lib
      • ncrdecode_lib
      • uniencode_lib
      • unidecode_lib
      • utf8encode_lib
      • utf8decode_lib
      • substr_lib
      • postposition_lib
    • Image Functions
      • imgresize_lib
    • Mail Functions
      • mailsource_lib
      • sockmail_lib
Powered by GitBook
On this page

Was this helpful?

Installation

PreviousIntroductionNextAPIs

Last updated 5 years ago

Was this helpful?

먼저, PHP 버전에 맞는 최신 버전을 다운로드를 받아서 압축을 풀어 놓습니다.

  • PHP7 - mod_korean 1.x

  • PHP4 or PHP5 - mod_korean 0.1.x

먼저, phpize 명령과 configure를 이용하여 DSO 빌드 환경을 준비 합니다.

[root@host mod_korean-1.0.1]$ phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
[root@host mod_korean-1.0.1]$ # --with-libdir 옵션은 64bit 환경에서만 지정합니다.
[root@host mod_korean-1.0.1]$ ./configure --with-libdir=lib64 --enable-korean --enable-korean-gd=builtin
[root@host mod_korean-1.0.1]$ make && make install

설치가 완료 후, php.ini에 다음의 설정을 추가 합니다.

extension = korean.so
https://github.com/OOPS-ORG-PHP/mod_korean/releases