카테고리 없음
add install by php ssl ( 64bit)
이한비
2010. 2. 23. 18:30
1. Python 설치
# wget http://www.python.org/ftp/python/2.6.4/Python-2.6.4.tgz
# tar xvfz Python-2.6.4.tgz
# cd Python-2.6.4
# ./configure --prefix=/usr/local/
# make
-------------------
zlib modified!!!!!
# cd zlib-1.2.1
# ./configure -s // libz.so 동적모듈생성 -s 는 -shared 의 줄임말
# make
# ./configure // libz.a 정적모듈생성
# make test
# make install
--------------------
# cp libz.so* /usr/lib
------------------------------
# cp libz.so* /usr/local/lib
# cd /usr/local/lib
# rm -f libz.so
# rm -f libz.so.1
# ln -s libz.so.1.2.1 libz.so
# ln -s libz.so.1.2.1 libz.so.1
-------------------------
2. openssl install ( before zlib install!! )
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
export LDFLAGS=-L/usr/local/lib
export CPPFLAGS=-I/usr/local/include
./config \
--openssldir=/usr/local/openssl \
shared \
threads \
zlib
make
make test
make install
unset LDFLAGS
unset CPPFLAGS
echo /usr/local/openssl/lib >> /etc/ld.so.conf
ldconfig
3. mod_perl install ( apache-1.3 under )
perl Makefile.PL
make
make test (optional)
make install
4. mod_ssl install ( apache-1.3 under )
./configure --with-apache=/usr/local/src/taketar/httpd-2.2.11
--with-ssl=/usr/local/openssl
--prefix=/user/local/httpd-ssl
5. httpd 2 setup
./configure --prefix=/usr/local/httpd --enable-mods-shared=all
--enable-cgi --enable-cgid --enable-rewrite
--enable-so --with-port=80 --enable-headers
--enable-expires --enable-ssl --enable-status
--with-charset=euc_kr --with-mod_charset
--with-language=korean --enable-memory-limit=yes
--enable-exif --with-jpeg --with-png --with-zlib
--with-gd --with-freetype --enable-gd-native-ttf
--with-xml --enable-iconv --enable-mods-shared=most
--with-zlib-dir=/usr/lib64
6. php setting
./configure --prefix=/usr/local/httpd/php
--with-apache-install=/usr/local/httpd
--with-mod_charset --with-language=korean
--with-charset=euc_kr --with-apxs2=/usr/local/httpd/bin/apxs
--with-config-file-path=/usr/local/httpd/conf --enable-sigchild
--enable-memory-limit=yes --enable-exif --with-jpeg --with-png
--with-zlib --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-zlib --with-gd
--with-freetype --enable-gd-native-ttf --with-xml
--disable-debug --enable-safe-mode --enable-track-vars
--enable-sockets --enable-mailparse --enable-calender
--enable-sysvsem=yes --enable-sysvshm=yes --enable-ftp
--enable-versioning --enable-url-includes --enable-trans-id
--enable-inline-optimization --enable-bcmath --with-ttf
--with-gettext --enable-module=so
--with-libxml-dir=/usr/include/libxml2
--with-oracle=/oracle/ora9 --with-oci8=/oracle/ora9
--with-iconv