ÀÌ¿ÂÅ¥ºê
ÀÌ¿ÂÅ¥ºê ·Î´õ(loader)´Â ÀÌ¿ÂÅ¥ºê ÀÎÄÚ´õ(encoder)·Î ¾ÏÈ£ÈÇÑ ¼Ò½º¸¦ ½ÇÇàÇϱâ À§ÇØ ÇÊ¿äÇÑ °Í ÀÔ´Ï´Ù.
ÀÌ¿ÂÅ¥ºê ·Î´õ°¡ ¼¹ö¿¡ ±¸ÃàµÇ¾î ÀÖ¾î¾ß ÀÎÄÚ´õ·Î ¾ÏÈ£ÈµÈ ¼Ò½º¸¦ ½ÇÇà ½Ãų ¼ö ÀÖ½À´Ï´Ù.
·Î´õ´Â ¹«·á À̸ç ÀÎÄÚµù °á°ú¹° Æú´õ ³»¿¡ Æ÷ÇÔ ½Ãų ¼öµµ ÀÖ½À´Ï´Ù.
·Î´õÀÇ ±¸µ¿ ¹æ½Ä
·Î´õÀÇ ±¸µ¿ ¹æ½Ä¿¡´Â 2°¡Áö°¡ ÀÖ½À´Ï´Ù.
php.ini ·Îµå Çü½Ä°ú dl() function À» ÀÌ¿ëÇÑ runtime ±¸µ¿ ¹æ½ÄÀÌ ÀÖ½À´Ï´Ù.
php.ini ·Îµå ¹æ½ÄÀº runtime ±¸µ¿ ¹æ½Äº¸´Ù ´õ ³ªÀº ¼º´ÉÇâ»óÀ» º¸¿© ÁÖÁö¸¸,
php.ini ¸¦ ¼öÁ¤ÇÒ ¼ö Àִ ȯ°æ¿¡¼¸¸ °¡´ÉÇÏ´Ù´Â ´ÜÁ¡ÀÌ ÀÖ½À´Ï´Ù.
¹Ý¸é¿¡ runtime ±¸µ¿ ¹æ½ÄÀº dl() function ÀÌ °¡´ÉÇÑ php ȯ°æ¿¡¼ ·Î´õ ÆÄÀϸ¸ ÷ºÎÇϸé
ÀÌ¿ëÇÒ ¼ö°¡ Àֱ⠶§¹®¿¡ À¥È£½ºÆà ȯ°æ¿¡¼³ª ±âŸ ´Ù¸¥ ȯ°æ¿¡¼ ¼Õ½±°Ô ÀÌ¿ë °¡´ÉÇÏ´Ù´Â
ÀåÁ¡ÀÌ ÀÖ½À´Ï´Ù.
±¸Ãà ¹æ¹ý
¾î¶°ÇÑ ¹æ¹ýÀ¸·Î ±¸ÃàÇÒÁö¿¡ ´ëÇؼ´Â ÀÌ¿ÂÅ¥ºê¿¡¼ ÀÚ¼¼ÇÑ °¡À̵å¶óÀÎÀ» Á¦½ÃÇØ ÁÝ´Ï´Ù.
·Î´õ¸¦ Æ÷ÇÔ½ÃÄÑ ÀÎÄÚµù ÈÄ ÀÎÄÚµùµÈ ÆÄÀÏÀÇ ioncube Æú´õ¸¦ º¸¸é ioncube-loader-helper.php ¶ó´Â
ÆÄÀÏÀÌ ÀÖ½À´Ï´Ù. ÀÌ ÆÄÀÏÀ» À¥¿¡¼ ½ÇÇà(Á¢±Ù)½ÃÅ°¸é php.ini ¹× runtime ¹æ½ÄÀÇ °¡À̵å¶óÀÎÀ» Á¦½ÃÇØ ÁÖ°í
ÇØ´ç ·Î´õ°¡ Á¤»ó µ¿ÀÛÇÏ´ÂÁö È®ÀÎ ÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù.
(Çѱ¹ÀÌ¿ÂÅ¥ºê ȨÆäÀÌÁö ³»ÀÇ ¿¹ http://ioncube.co.kr/ioncube/ioncube-loader-helper.php)
# wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
# tar zxvf ioncube_loaders_lin_x86-64.tar.gz
# php -v
PHP 5.3.3 (cli) (built: Aug 6 2014 11:41:05)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
# cp ioncube_loader_lin_5.3* /etc/httpd/modules/
`ioncube_loader_lin_5.3.so' -> `/etc/httpd/modules/ioncube_loader_lin_5.3.so'
`ioncube_loader_lin_5.3_ts.so' -> `/etc/httpd/modules/ioncube_loader_lin_5.3_ts.so'
# vim /etc/php.ini Ãß°¡
[Zend]
zend_extension=/etc/httpd/modules/ioncube_loader_lin_5.3.so
zend_extension_ts=/etc/httpd/modules/ioncube_loader_lin_5.3_ts.so
# php -v
PHP 5.3.3 (cli) (built: Aug 6 2014 11:41:05)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.7.0, Copyright (c) 2002-2014, by ionCube Ltd.