################### # compiling apache with mysql, php and xml/xslt suppport on linux rh9 # rh9 has already libxml2 and expat intalled. # the assumption is that all tarballs are in the same directory cd libiconv-1.8 ./configure --prefix=/usr/local make make install cd ../Sablot-0.97 ./configure --prefix=/usr/local/ --with-expat --with-iconv-prefix=/usr/local make make install cd ../php-4.3.1 ##### Configurazione con XML parsers e librerie red-hat export LDFLAGS=-lstdc++ ./configure --with-mysql=/opt/mysql --with-apache=../apache_1.3.27 --enable-track-vars --with-dom --enable-sockets --enable-wddx --with-xmlrpc --enable-xslt --with-xslt-sablot=/usr/local --with-zlib-dir=/usr/lib --with-expat --with-iconv-dir=/usr/local make make install cd ../apache_1.3.27 ./configure --prefix=/opt/www --activate-module=src/modules/php4/libphp4.module cp src/modules/php4/libmodphp4.a src/modules/php4/libphp4.a make make install