php compile shell script

From: Date: Wed, 15 Nov 2000 23:18:35 +0000
Subject: php compile shell script
Groups: php.install 
Request: Send a blank email to php-install+get-804@lists.php.net to get a copy of this message
I made a little shell script which automactically compiles php into apache. I run it as a cron job every morning on the cvs'd version of php. I thought I'd post it just in case it helps anyone. #!/bin/bash PREFIX=$HOME/chaos/apache APACHE=$HOME/src/php/apache_1.3.14 PHP=$HOME/src/php/php4 cd $APACHE make clean ./configure cd $PHP make clean ./buildconf LD_LIBRARY_PATH=/usr/local/lib ./configure \ --with-mysql=/usr/local \ --with-apache=$APACHE \ --enable-track-vars \ --with-ttf \ --with-t1lib \ --with-gd \ --with-db3 \ --with-mm \ --disable-pear \ --disable-pic \ --with-sablot \ --with-dom=/usr/local \ && make install cd $APACHE ./configure \ --prefix=$PREFIX \ --with-port=16888 \ --activate-module=src/modules/php4/libphp4.a \ --enable-module=so \ && make install && \ $PREFIX/bin/apachectl stop && \ sleep 5 && \ $PREFIX/bin/apachectl start

« previous php.install (#804) next »