CentOS 6.8/php-5.2.17, ZendOptimizer-3.3.9 설치 > 에필로그

본문 바로가기

CentOS 6.8/php-5.2.17, ZendOptimizer-3.3.9 설치

페이지 정보

작성자 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 에필로그 댓글 0건 조회 4,798회 작성일 18-06-23 11:55

본문

구버전 php 사이트 수용 목적
CentOS 6.8 설치 후 업데이트는 하지 않음

 

1. cd /usr/local/src 후 다음 파일 다운로드 

epel-release-6-8.noarch.rpm
jpegsrc.v8d.tar.gz
libpng-1.2.7.tar.gz
openssl-0.9.8e.tar.gz
php-5.2.17.tar.gz
ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz

2. rpm -i epel-release-6-8.noarch.rpm

 

3. 다음 패키지 설치

yum -y install \
make \
gcc \
gcc-c++ \
flex \
compat-gcc-32-g77 \
cpp-c++ \
curl \
curl-devel \
gd-devel \
gdbm-devel \
glibc-utils.x86_64 \
libjpeg \
libjpeg-devel \
freetype-devel \
krb5-devel \
libmcrypt \
libmcrypt-devel \
libmhash \
libmhash-devel \
Cygwin \
mingw32 \
egrep \
libtiff-devel \
libtermcap-devel \
libxml5 \
libc-client-devel \
libtool-ltdl-devel \
php-ncurses.x86_64 \
php-mbstring \
openssl-devel \
libxml2 \
libxml2-devel \
bzip2-devel \
mysql-devel \
httpd-devel

4. tar zxvf jpegsrc.v8d.tar.gz

cd jpeg-8d
./configure
make
make install

5. tar xvfz libpng-1.2.7.tar.gz

cd libpng-1.2.7
cp scripts/makefile.linux makefile
make test
make install

6. tar zxvf openssl-0.9.8e.tar.gz

cd openssl-0.9.8e
./configure no-asm ?prefix=/usr/local shared
make
make install

7. mkdir /usr/local/php

tar zxvf php-5.2.17.tar.gz
cd php-5.2.17
./configure \
prefix=/usr/local/php \
with-config-file-path=/etc/ \
with-apxs2=/usr/sbin/apxs \
with-mysql=/usr/bin \
with-libdir=lib64 \
with-openssl=/usr/local \
enable-calendar \
enable-mod-charset \
disable-debug \
enable-safe-mode \
enable-sigchild \
enable-magic-quotes \
with-libxml-dir \
with-zlib \
with-zlib-dir \
with-bz2 \
enable-calendar \
with-curl \
enable-dba \
with-gdbm \
enable-exif \
enable-ftp \
with-gd \
with-jpeg-dir=/usr/local/lib \
with-png-dir=/usr/local/lib \
with-ttf \
with-freetype-dir \
with-iconv \
enable-gd-native-ttf \
with-gettext \
with-kerberos \
enable-mbstring \
with-mhash \
with-mcrypt \
enable-sockets \
with-regex=php \
enable-sysvmsg \
enable-sysvsem \
enable-sysvshm \
enable-wddx \
enable-zip \
enable-zend-multibyte
 make
 make install

8. cp php.ini-recommended /etc/php.ini

 

9. cd /usr/local/src/


10. tar xvzf ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz


11. cp ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_x_comp/ZendOptimizer.so /usr/local/php/lib/


12. vi /etc/php.ini 다음 추가

[Zend]
zend_extension=/usr/local/php/lib/ZendOptimizer.so

13. 아파치 다시 시작


14. /usr/local/php/bin/php -v

댓글목록

등록된 댓글이 없습니다.

에필로그 340건/1페이지
에필로그 목록
번호 제목 글쓴이 조회 날짜
340 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 167079 01-28
339 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 48033 04-02
338 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 15911 05-29
337 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11965 06-23
336 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9439 09-01
335 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6476 07-16
334 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6255 06-25
333 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6118 06-30
332 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6111 12-27
331 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5395 06-23
330 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5250 06-21
329 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5166 12-25
열람중 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4799 06-23
327 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4773 02-20
326 no_profile 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 4693 04-09
게시물 검색
[문의] 전화 : 0707-443-0499 메일 : t8@t8.co.kr [분야] Linux, Unix, Windows DNS, 웹, WAS, 역방향프록시, 앱 SQL, 메일, 스트리밍, CDN SMB/CIFS, FTPs, NFS, AFP IKEv2, OpenVPN, WireGuard 대범위 DHCP, WiFi 종속포털, AAA DDoS 우회/분산, 랜섬웨어 대비 장애/재난/해킹시스템 복구 서비스/P2V 마이그레이션 XSS/웹쉘/인젝션/백도어 제거 서버 업그레이드/교체/이전 주문/맞춤/복합/간이서버 제작 특별/희귀/생소한 시스템 상담/구현 문제해결 외

Copyright © T8. All rights reserved.