Child pages
  • PHP igbinary library 설치

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

php.ini 의 extension 항목에 다음 내용을 추가합니다추가하고 웹 서버나 php-fpm 을 재시작합니다.

Code Block
; Load igbinary extension
extension=igbinary.so

; Use igbinary as session serializer
session.serialize_handler=igbinary

; Enable or disable compacting of duplicate strings
; The default is On.
igbinary.compact_strings=On

; If uncommented, use igbinary as the serializer of APCu
; (APCu 5.1.10 or newer is strongly recommended)
;apc.serializer=igbinary

qq


설치 확인

명령창에서 다음 명령어를 실행해서 igbinary 설치 여부를 확인합니다.

Code Block
languagebash
$ php -r "phpinfo();"|grep igbinary
Code Block
/etc/php.d/20-igbinary.ini,
igbinary
igbinary support => enabled
igbinary version => 3.0.1
igbinary APCu serializer ABI => no
igbinary session support => yes
igbinary.compact_strings => On => On
Registered serializer handlers => php_serialize php php_binary igbinary wddx 
session.serialize_handler => igbinary => igbinary