Web Server Build
时间:2008-08-20 来源:pch_818
Objective
Build a web server on solaris 8
Package Description
PKG List:
php-5.2.6.tar.gz
httpd-2.2.9.tar.gz
mysql-5.0.67-solaris8-sparc.tar.gz
Description:
For mysql: you must choose mysql-5.0.67-solaris8-sparc.tar.gz not the mysql-5.0.67-solaris8-sparc-64bit.tar.gz though your server is 64bit
For PHP : PHP 4.3.0 or newer version can work well with Apache 2.0
Installation
Apache:
- gunzip httpd-2.2.9.tar.gz
- tar xvf httpd-2.2.9.tar
- cd httpd-2.2.9
- ./configure --enable-so #Share modules
- make
- make install
Mysql:
- gunzip mysql-5.0.67-solaris8-sparc.tar.gz
- tar xvf mysql-5.0.67-solaris8-sparc.tar
- cd mysql-5.0.67-solaris8-sparc
- ./configure --prefix=/usr/local/mysql
- make
- make install
PHP:
- gunzip php-5.2.6.tar.gz
- tar xvf php-5.2.6.tar
- cd php-5.2.6
- ./configure --prefix=/usr/local/php \
- --with-mysql=/usr/loca/mysql \
- --with-apxs2=/usr/local/apache2/bin/apxs \
- --with-zlib
- make
- make install
相关阅读 更多 +