From siket@fnal.gov Fri Aug 8 10:39:48 2003 Date: Fri, 08 Aug 2003 11:01:57 +0200 From: Miroslav Siket Reply-To: siket@saske.sk To: cdf-farms@fnal.gov Subject: fnpcc web server Hello all, together with Marian we have upgraded fnpcc to use apache 2.0.47 and php 4.3.2. I'd like to post information on the compilation so for the future you'd be able to perform the same thing more readily: 1. get apache from the official web server: www.apache.org 2. get php from the official web: www.php.net (In case only php upgrade is needed, skip 1 and all points dealing with apache) 3. Unzip apache and php in /usr/local/src/ 4. Compile apache: ./configure --enable-so --prefix=/usr/local/apache-2.x.y --exec-prefix=/usr/local/apache-2.x.y make make install 5. Compile php: ./configure --prefix=/usr/local/apache-2.x.y --with-apxs2=/usr/local/apache-2.x.y/bin/apxs --with-apache2=/usr/local/src/httpd-2.x.y --with-mysql --with-oci8=/local/ups/prd/oracle_client/v8_1_7/Linux-2 make make install Where x.y are major and minor apache2 version numbers. 6. Edit php.ini-dist and copy it to /usr/local/apache-2.x.y/lib/phjp.ini. Do not forget to enable register_globals in the php.ini. 7. Edit /etc/rc.d/init/httpd2 respectively. Miro P.S. Now it should be all right to scan the computer again for vulnerabilities.