インストール の変更点
[[Linux/Apache/モジュール]]参照の上、コンフィグスクリプトの実行をする。
tar zxvf httpd-2.0.48.tar.gz
cd httpd-2.0.48
./configure --prefix=/usr/local/apache2048 --enable-so
make
make install
ln -s /usr/local/apache2048 /usr/local/apache2
cp /usr/local/apache2/bin/apachectl /etc/rc.d/init.d/httpd
chkconfig --add httpd
chkconfig httpd on
mkdir -p /var/www/html
[[設定>Linux/Apache/設定]]をしたら
/etc/rc.d/init.d/httpd configtest
/etc/rc.d/init.d/httpd start
**設定
[[Linux/Apache/設定]]
*Apache1.3.33+PHP4.3.10 &aname(phpstatic);
PHPをApacheに静的に組み込む。Apache1.3系は次のようにする。[[Apache2.0系はDSOのみ>Devel/PHP/インストール]]。
tar xvzf apache_1.3.33.tar.gz
cd apache_1.3.33/
./configure
cd ..
tar xvjf php-4.3.10.tar.bz2
cd php-4.3.10/
./configure \
--with-apache=../apache_1.3.33 \
--without-mysql \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-mbregex \
--with-gd \
--with-ttf \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--with-zlib-dir=/usr/include
make
make install
cd ..
cd apache_1.3.33/
./configure --prefix=/usr/local/apache \
--enable-module=rewrite \
--disable-module=autoindex \
--disable-module=imap \
--disable-module=include \
--disable-module=negotiation \
--disable-module=status \
--disable-module=userdir \
--activate-module=src/modules/php4/libphp4.a
make
make install
cp /usr/local/apache/bin/apachectl /etc/rc.d/init.d/httpd
chkconfig --add httpd
chkconfig httpd on
*備考
アーカイブは~
http://ring.ocn.ad.jp/archives/net/apache/dist/httpd/~
から落とすと速い。
*参考
-[[Apache HTTP サーバ バージョン 2.0 ドキュメント - Apache HTTP サーバ>http://httpd.apache.org/docs-2.0/]]
-[[Apacheパフォーマンス・チューニングのポイント>http://www.atmarkit.co.jp/flinux/rensai/apache15/apache15a.html]]
-[[Apacheパフォーマンス・チューニングの実践>http://www.atmarkit.co.jp/flinux/rensai/apache16/apache16a.html]]
-[[Apache HTTP サーバ バージョン 1.3 ドキュメント>http://httpd.apache.org/docs/]]
-[[PHP: Installation on Unix systems - Manual>http://www.php.net/manual/ja/install.unix.php#install.unix.apache.example-static]]
-[[nuance de Machine>http://nuance.cc/machine/unix/sunos/]]
*Amazon
#amazon(4873111501,left)
#amazon(487311182X,left)
#amazon(4872805062,left)
#amazon(B00SXYGOQ4,left)