I went ahead and tried building the wsf/phph stack, and I ran into more issues. 
Can I get some help with the these points:

1- I got WSF/PHP from the trunk [1] and started downloading the prerequisites: 
I noticed most of them refer to win32. However I have Vista 64-bit, would that 
be a problem in general?

2- in the case of OpenSSL, I tried to install the 0.09.8J 64-bit version, Is my 
version choice correct?
(basically I am checking to see if 64 bit is OK)

3- how exactly can I build in visual studio? The build script refers to unix 
nmake files and stuff...
D:\Projects\WS02\WSF_PHP>build
        1 file(s) copied.
        1 file(s) copied.
'vcvars32.bat' is not recognized as an internal or external command,
operable program or batch file.
'nmake' is not recognized as an internal or external command,
operable program or batch file.
A subdirectory or file wso2-wsf-php-bin-2.0.0-win32 already exists.
File not found - wso2-wsf-c-bin-2.0.0
0 File(s) copied
The system cannot find the path specified.
'nmake' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
The system cannot find the path specified.

4- My VS 9.0 installation directory does not have any vcvars32.bat, what is 
that about?


I really would prefer to have the build binaries for WSF/PHP available 
somewhere., any update on that?


Thanks,



-----Original Message-----
From: Abu Obeida Bakhach [mailto:[email protected]] 
Sent: Wednesday, February 18, 2009 6:23 PM
To: [email protected]
Subject: RE: PHP and WSAS stocktrader committed to trunk

Thanks for the details!
I will be waiting for a binary distribution of WSF/PHP to be available. When do 
you think that will be?


-----Original Message-----
From: Dimuthu Gamage [mailto:[email protected]] 
Sent: Wednesday, February 18, 2009 6:48 AM
To: [email protected]
Subject: Re: PHP and WSAS stocktrader committed to trunk

Hi Abu Obeida,

I think you already have figured this out. Just trying to answer the
questions in brief.

On Wed, Feb 18, 2009 at 1:12 AM, Abu Obeida Bakhach <
[email protected]> wrote:

> Hello Shankar,
> I would like to give this a try, can you help with some pointers on the
> following newbie questions:
>
> - I understand that WSF/PHP is an extension to Axis2/C. So I need to
> install both of them, does Axis2 rely on some other apache web server as
> well?


When you download WSF/PHP axis2/c will be packed within the distribution
(inside wsf_c/axis2 directory). In fact it is correct to mention wsf/php as
an extension to PHP. And Axis2/C (and all the other projects like Apache
Rampart/C, Sandesha/C) is like embeded in WSF/PHP to get the web services
functionality.

You need web server (apache or IIS) to run PHP. And WSF/PHP will run on
there as an extension to PHP.

So there are 2 steps of configurations.
1. Configure Apache to run PHP (i.e. httpd.conf)
2. Configure PHP to enable wsf/php (i.e. in php.ini)


>
> - I read somewhere that "WSO2 Web Services Framework/PHP (WSO2 WSF/PHP)
> makes use of GNOME XML library." So I assume I need to install that as well.


Yes.   WSF/PHP uses libxml library. You can find the download links in the
README_INSTALL_WIN32 file.

>
> - Since this is PHP, don't I need some runtime that can understand PHP? Is
> there a PHP sdk/server I need to install? I figured I should, so I get one
> off php.net


Yea. you need to download php to use wsf/php.


>
>
> Any other dependencies that I need to load and run PHP stocktrader?


To run PHP stocktrader (in the stonehenge turnk), you need to install
WSF/PHP from SVN trunk[1], You can't use wsf/php 2.0.0 (the latest
distribution) as we have updated stocktrader to use some wsdl mode API
changes in post wsf/php 2.0. I think this should be updated in the WSF/PHP
intallation guide as well. You need to get the WSF/PHP source from the svn
and build it. Meanwhile I will check the possibility of hosting a nightly
build of windows binary.


[1] https://wso2.org/repos/wso2/trunk/wsf/php

Thanks
Dimuthu

>
>
> Thanks,
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf
> Of Uthaiyashankar
> Sent: Thursday, February 12, 2009 9:18 AM
> To: [email protected]
> Subject: PHP and WSAS stocktrader committed to trunk
>
> Hi,
>
> I have moved and committed PHP and WSAS stocktrader to trunk. You can find
> the installation guide in [1]. Please try them and report the
> bugs/problems.
>
>
> To try PHP stocktrader, get WSF/PHP from either trunk [2] or from nightly
> build [3].
>
> Currently, WSAS Stocktrader is dependent on jdts JDBC driver [4], which is
> having LGPL licence. Will it be a problem to have this dependency?
>
> Regards,
> Shankar
>
> [1]
>
> http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+Stocktrader+Installation+Guide
> [2] https://wso2.org/repos/wso2/trunk/wsf/php
> [3] http://wso2.org/downloads/wsf/php/nightly-build
> [4] http://jtds.sourceforge.net/
>
> --
> S.Uthaiyashankar
> Software Architect
> WSO2 Inc.
> http://wso2.com/ - "The Open Source SOA Company"
>



-- 
Thanks,
Dimuthu Gamage

http://www.dimuthu.org
http://www.wso2.org

Reply via email to