티스토리 뷰

Centos 셋업

4. PHP 설치 (5.21)

두리웹 2012. 3. 6. 02:39

PHP 설치 내용입니다

PHP 설치 전 일단 mcrypt 및 curi 등 설치를 해주시고
시작하셔야합니다


mcrypt / curi 는

./configure --prefix=/usr/local 경로로 해주시고 make && make install 을 설치해주시기 바랍니다

이후 php 소스파일을 압축해재하시고

아래의 내용을 그대로 적어주시면 됩니다

yum -y install libxml* 할것

yum install openssl* 

yum install openssl-devel*

./configure --prefix=/usr/local/server/php --with-apxs2=/usr/local/server/apache/bin/apxs --with-mysql=/usr/local/server/mysql --with-config-file-path=/usr/local/server/apache/conf --disable-debug --enable-safe-mode --enable-track-vars --enable-sockets --with-mod_charset --with-charset=utf8 --with-xml --with-language=korean --enable-mailparse --enable-calender --enable-sysvsem=yes --enable-sysvshm=yes --enable-ftp --enable-magic-quotes --enable-gd-native-ttf --enable-url-includes --enable-trans-id --enable-inline-optimization --enable-bcmath --with-jpeg --with-png --with-zlib --with-jpeg-dir=/usr --with-png-dir=/usr/lib --with-freetype-dir=/usr --with-libxml-dir=/usr --enable-exif --with-gd --with-ttf --with-gettext --enable-sigchild --enable-mbstring --with-openssl --with-mcrypt=/usr/local/lib --with-curl=/usr/local/lib






'Centos 셋업' 카테고리의 다른 글

2. MYSQL 설치  (0) 2012.03.06
1. Proftpd 설치  (0) 2012.03.06
Centos 시작~부터 웹서버 구동까지 .  (0) 2012.03.06
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함