1.安装OS
2.安装Apache 最新版本下载地址
http://httpd.apache.org/
tar -xvf apache_[version].tar(下载的apache压缩文件名)
cd apache_[version]
./configure --prefix=[path] --enable-module=so
make
make install
3.安装PHP DSO方式(可以在PHP.net上下载最新的版本 )
tar zvxf php-[version].tar.gz
cd php-[version]
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-
apxs2=/usr/local/apache/bin/apxs --with-libxml-dir=/usr/local/include/libxml2/libxml --
with-gd --with-zlib
make
make install
cp php.ini-dist /usr/local/lib/php.ini
4.安装libxml2(大部分的linux系统已经自带)最新版本下载地址
ftp://xmlsoft.org/libxml2/
tar zxvf libxml[version].tar.gz
cd libxml_[version]
./configure
make
make install
5.安装OpenSSL 最新版本下载地址
http://www.openssl.org/source/
tar zxvf openssl-[version].tar.gz
cd openssl-[version]
./configure
make
make install
6 . 安装WSO2 WSF/PHP v1.3.2
unzip wso2-wsf-php-src-[version].zip
cd wso2-wsf-php-src-[version]
./configure
make (编译时若提示找不到lsqlite,则需要重新下载和安装sqlite)
make install
7.WSO2 WSF/PHP v1.3.2的配置
回到PHP的安装目录下的ext/xsl
phpize
./configure
make
make install
把以下语句加入php.ini
extension=wsf.so
extension=xsl.so
extension_dir="usr/local/lib/php/extensions/debug-zts-***". 最后的目录名因PHP版本而异
include_path = ".:/path/to/scripts/folder"
wsf.home="/usr/local/lib/php/extensions/debug-zts-***/wsf_c"(该目录的前面部分与extension_dir相同,即extension_dir/wsf_c)
wsf.log_path="/tmp"
wsf.log_level=1
wsf.rm_db_dir="/tmp"
安装完毕!!!
可以根据Manual的例子自己创建webservice和client了
Enjoy!
[
本帖最后由 dan.wilson 于 2008-6-27 09:23 编辑 ]