kkamagi's story

IT, 정보보안, 포렌식, 일상 공유

OS

php 5.5 ioncube 설치

까마기 2014. 12. 27. 03:15
728x90
반응형
php 5.5 ioncube 설치

php 5.5 complie

./configure --prefix=/usr/local/php --with-libdir=lib64 --with-config-file-path=/usr/local/php/etc --with-mysql=/home/mysql --with-mysqli=/home/mysql/bin/mysql_config --with-apxs2=/usr/local/a
pache/bin/apxs --with-pear=/usr/share/php --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-bcmath --enable-shmop --enable
-sysvsem --enable-inline-optimization --enable-opcache --with-curl --enable-mbregex --enable-fpm --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enab
le-pcntl --enable-sockets --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap --with-bz2 --enable-static --enable-intl --enable-exif --with-pdo-mysql=/home/mysql --with-gettext -
-enable-opcache=no --with-iconv=/usr/lib/ --disable-maintainer-zts --disable-safe-mode


apache 2.4.7 complie

./configure --prefix=/usr/local/apache/ --enable-mods-shared=all --enable-module=shared --enable-rewrite --enable-ssl --with-ssl --with-mpm=prefork --with-included-apr


apache는 prefork 방식으로 설치 해야함

ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz
다운로드
ioncube_loaders_lin_x86-64.tar.gz

tar ion*
mv ioncube /usr/local/ioncube



# cp ZendGuardLoader.so /usr/local/lib64/php/modules

# vi /etc/php.ini

[zend]
;zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
zend_loader.enable=1
zend_extension_ts=/usr/local/ioncube/ioncube_loader_lin_5.5_ts.so
zend_extension=/usr/local/ioncube/ioncube_loader_lin_5.5.so


반응형