Den er virker så straks meget bedre. Den pakker filerne ud, og begynder at chekke en masse igennem, men når den kommer til apache stopper den, med en hel masse fejlmeddelser!
Help. Please Help
#!/bin/sh
# Requirements: wget
####################################################################
# Get distributions
####################################################################
# mkdir /usr/local/software
# cd /usr/local/software
cd /home/gozar
# Apache = src
# wget
http://www.apache.org/dist/apache_1.3.12.tar.gz tar -zxvf apache_1.3.12.tar.gz -C /usr/src
# PHP = src
# wget
http://php.he.net/distributions/php-4.0.1.tar.gz tar -zxvf php-4.0.2.tar.gz -C /usr/src
####################################################################
# Configure
####################################################################
# Apache before PHP needed for PHP to compile
cd /usr/src/apache_1.3.12
./configure \\
\"--with-layout=Apache\" \\
\"--prefix=/usr/local/apache\" \\
\"--activate-module=src/modules/php4/libphp4.a\" \\
\"--enable-module=rewrite\" \\
\"$@\"
# PHP - be sure to have MySQL installed
cd /usr/src/php-4.0.2
./configure \\
\"--with-mysql\" \\
\"--enable-track-vars\" \\
\"--with-apache=../apache_1.3.12\" \\
\"$@\"
####################################################################
# Make
####################################################################
# PHP before Apache
cd /usr/src/php-4.0.2
make
make install
# Apache from start
cd /usr/src/apache_1.3.12
./configure \\
\"--with-layout=Apache\" \\
\"--prefix=/usr/local/apache\" \\
\"--activate-module=src/modules/php4/libphp4.a\" \\
\"--enable-module=rewrite\" \\
\"$@\"
make
make install
####################################################################
# Start Apache
####################################################################
/usr/local/apache/bin/apachectl start