[Linux] CentOS APM rpm ±âº» ¼³Ä¡
http://ehostidc.co.kr/center/EH050402.php?no=141433&page=9&choose=tit¡¦ (337)http://ehostidc.co.kr/cld/EH020201.php?ke=0 (347)
CentOS 6 과 7 버전에서 기본 제공하는 APM 간단 설치
A. CentOS 6 : httpd-2.2.15 php-5.3.3 mysql-5.1.73-8
1. 설치
yum install httpd httpd-devel libpng libpng-devel libjpeg libjpeg-devel gd mysql mysql-server php php-pdo php-gd php-mysql php-mbstring php-soap php-bcmath php-bz2 php-calendar php-curl php-dba php-exif php-fcgi php-fileinfo php-ftp php-gd php-gettext php-hash php-iconv php-imap php-json php-openssl php-pdo php-pear php-soap php-sockets php-ldap php-readline php-snmp php-xml php-xmlrpc
2. 의존성 및 추가 설치 파일
a. php-mcrypt 관련 rpm
http://dl.fedoraproject.org/pub/epel/6/x86_64/Pack...
http://dl.fedoraproject.org/pub/epel/6/x86_64/Pack...
b. Zend Guard Loader
- Zend Guard Loader (Runtime for PHP 5.4) 64-bit:
http://downloads.zend.com/guard/6.0.0/ZendGuardLoa...
- Zend Guard Loader (Runtime for PHP 5.4) 32-bit:
http://downloads.zend.com/guard/6.0.0/ZendGuardLoa...
- Zend Guard Loader (Runtime for PHP 5.3) 64-bit:
http://downloads.zend.com/guard/5.5.0/ZendGuardLoa...
- Zend Guard Loader (Runtime for PHP 5.3) 32-bit:
http://downloads.zend.com/guard/5.5.0/ZendGuardLoa...
- ioncube
http://downloads2.ioncube.com/loader_downloads/ion...
c. Zend 관련 설정 파일
# vi /etc/php.d/ZendGuard.ini
- 32비트
; Enable Zend Guard extension
#inocube 는 Zend 위에 셋팅
zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.3.so
zend_extension=/usr/lib/php/modules/ZendGuardLoader.so
zend_loader.enable=1
- 64비트
#inocube 는 Zend 위에 셋팅
; Enable Zend Guard extension
zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_5.3.so
zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
zend_loader.enable=1
d. php.ini 수정
short_open_tag = On
On : Off :
B. CentOS 7 : apache 2.4 / php 5.4 / mysql mariadb 5.5
1. 설치
yum install httpd httpd-devel libpng libpng-devel libjpeg libjpeg-devel gd mariadb mariadb-server php php-pdo php-gd php-mysql php-mbstring php-soap php-bcmath php-bz2 php-calendar php-curl php-dba php-exif php-fileinfo php-ftp php-gd php-gettext php-hash php-iconv php-json php-openssl php-pdo php-pear php-soap php-sockets php-ldap php-readline php-snmp php-xml php-xmlrpc