1. 개요
APM source 설치
Apache : 1.3.37 / PHP : 4.4.2 / MYSQL : 4.0.27
2. apache 1.3.37 설치
= Site : https://archive.apache.org/dist/httpd/
cd /usr/local/src/
wget https://archive.apache.org/dist/httpd/apache_1.3.37.tar.gz
tar zxvf apache_1.3.37.tar.gz
./configure –prefix=/usr/local/apache-1.3.37 –enable-module=so
make
make install
3. mysql 4.0.27 설치
= Site : http://ftp.linux.co.kr/pub/mysql/
cd /usr/local/src/
wget http://ftp.linux.co.kr/pub/mysql/mysql-4.0.27.tar.gz
tar zxvf mysql-4.0.27.tar.gz
vi /usr/include/pthread.h ; 맨 위에 추가
/* Linuxthreads */
./configure
make && make install
4. php 4.4.2 설치
= Site : http://museum.php.net/php4/
yum install libjpeg-devel libpng-devel
cd /usr/local/src
wget http://museum.php.net/php4/php-4.4.2.tar.gz
tar zxvf php-4.4.2.tar.gz
./configure –prefix=/usr/local/php –with-mysql=/usr/local/mysql –with-config-file-path=/usr/local/php/etc –with-gd –with-freetype-dir –with-ttf –with-zlib –enable-sockets –enable-gd-native-ttf –with-png-dir –with-jpeg-dir –with-gif-dir –enable-sigchild –with-kerberos –enable-magic-quotes –with-gettext –enable-mbstring –enable-inline-optimization –enable-bcmath –enable-shmop –enable-calendar –enable-ftp –with-gdbm –with-iconv –enable-mbregex –with-openssl –with-curl –enable-sysvshm=yes –enable-sysvsem=yes –enable-debug=no –enable-ftp –enable-wddx –enable-exif –with-kerberos
make && make install
cp /usr/local/src/php-4.4.2/php.ini-dist /usr/local/php/etc/php.ini
ln -s /usr/local/php/etc/php.ini /etc/php.ini
vi /etc/php.ini
/etc/init.d/httpd restart