安装准备
基础包
apache_1.3.9.tar.gz
php-5.2.0.tar.gz
postgresql-8.1.5.tar.gz
GD包
freetype-2.2.1.tar.gz
gd-2.0.33.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.2.13.tar.gz
zlib-1.2.3.tar.gz
支持包
libxml2-2.6.26.tar.gz
1.安装GD包里面的所有东西;
2.安装libxml2-2.6.26.tar.gz
3.安装postgresql-8.1.5.tar.gz
4.安装apache_1.3.9.tar.gz
./configure --prefix=/usr/local/apache --enable-module=so
make
make install
5.安装php-5.2.0.tar.gz
./configure --prefix=/usr/local/php -with-pgsql -enable-track-vars -with-zlib -with-gd -with-jpeg-dir -enable-gd-native-ttf -with-ttf -with-freetype-dir -enable-zend-multibyte -enable-mbstring --with-apxs=/usr/local/apache/bin/apxs --enable-soap --enable-sockets
make
make install
修改/usr/loca/apache/conf/httpd.conf 加入
AddModule mod_php5.c
#以下配置下可能已经在安装时自动添加,如果没有,需要添加
LoadModule php5_module libexec/libphp5.so
AddType application/x-httpd-php .php
添加apache自启动
以上步骤支持:
目前GD所有图像格式;
Postgresql 8.1
Mbstring(UNICODE必备)
SOAP
基础包
apache_1.3.9.tar.gz
php-5.2.0.tar.gz
postgresql-8.1.5.tar.gz
GD包
freetype-2.2.1.tar.gz
gd-2.0.33.tar.gz
jpegsrc.v6b.tar.gz
libpng-1.2.13.tar.gz
zlib-1.2.3.tar.gz
支持包
libxml2-2.6.26.tar.gz
1.安装GD包里面的所有东西;
2.安装libxml2-2.6.26.tar.gz
3.安装postgresql-8.1.5.tar.gz
4.安装apache_1.3.9.tar.gz
./configure --prefix=/usr/local/apache --enable-module=so
make
make install
5.安装php-5.2.0.tar.gz
./configure --prefix=/usr/local/php -with-pgsql -enable-track-vars -with-zlib -with-gd -with-jpeg-dir -enable-gd-native-ttf -with-ttf -with-freetype-dir -enable-zend-multibyte -enable-mbstring --with-apxs=/usr/local/apache/bin/apxs --enable-soap --enable-sockets
make
make install
修改/usr/loca/apache/conf/httpd.conf 加入
AddModule mod_php5.c
#以下配置下可能已经在安装时自动添加,如果没有,需要添加
LoadModule php5_module libexec/libphp5.so
AddType application/x-httpd-php .php
添加apache自启动
以上步骤支持:
目前GD所有图像格式;
Postgresql 8.1
Mbstring(UNICODE必备)
SOAP