- Remove all defined binaries on /usr/local - Extract all defined tarballs - Configure and built openssl ./config --prefix=/usr/local/openssl no-threads shared make make test make install - Configure and built mm ./configure --prefix=/usr/local/mm --disable-shared make make install ranlib /usr/local/mm/lib/libmm.a chmod 644 /usr/local/mm/lib/libmm.a libtool: install: warning: remember to run `libtool --finish /usr/local/lib' - Configure apache ./configure --prefix=/usr/local/apache --enable-module=so make make install - Configure and build modssl ./configure --with-apache=../apache_1.3.27 --with-ssl=../openssl-0.9.6g --with-mm=../mm-1.2.1 --prefix=/usr/local/apache cd ../apache_1.3.27 make make certificate make install ---- Integrating to PHP and its need! Integrated modules: - Crypt - GD library (for handling images) - ZLIB - Postgresql - configure + build libmcrypt ./configure make make install libmcrypt needs to be included in /etc/ld.so.conf (i think) after that, run 'ldconfig' from command line - configure + build mhash ./configure make make install - configure + build mcrypt --> requires libmcrypt --> requires mhash - configure + build postgresql ./configure --prefix=/usr/local/pgsql make make install add /usr/local/pgsql to /etc/ld.so.soft ldconfig -v ( Run the dynamic linker) - configure + build GD library make make install - CONFIGURE + BUILD PHP: ./configure --with-apxs=/usr/local/apache/bin/apxs --enable-memory-limit --enable-ftp --enable-bcmath --enable-track-vars --with-mcrypt=../mcrypt-2.5.13/ --with-mhash=../mhash-0.8.16/ --with-gd=../gd-1.8.4/ --enable-gd-native-ttf --with-jpeg-dir=../gd-1.8.4/ --with-png-dir=../gd-1.8.4/ --with-xpm-dir=../gd-1.8.4/ --with-freetype-dir=../gd-1.8.4/ --with-ttf=../gd-1.8.4/ --with-zlib-dir=../zlib-1.1.4/ --with-gettext --with-pgsql=/usr/local/pgsql --with-xml