hi Drew,


> > > This is the set of binaries from
> > > http://downloads.dimuthu.org/bins/wso2-wsf-php-bin-SNAPSHOT-win32.zip
> >
> >
> >
> > It might be an openssl problem. Dimuthu, what is the openssl version you
> > used to build the binary?
>
> it is 0.9.8d.
>
> > WAMP which Drew points uses openssl 0.9.8i
>
> Yea that could be a problem



I have built WSF/PHP with 0.9.8i and hosted in
http://ww2.wso2.org/~shankar/wso2-wsf-php-bin-2.0.0-win32.zip

If you have installed any openssl, please uninstall / remove from path.



>
>
> >
> >
> > I am able to recreate WSF loading issue with Drew's WAMP. I am working on
> > it
> > to find a solution. Will let you know.
>


These are the step by step instructions to setup WSF/PHP + Stocktrader in
your WAMP
(1) Copy <WSF_PHP>\scripts\* to <WAMP>\scripts\
(2) Copy <WSF_PHP>\wsf.dll to <WAMP>\bin\php\php5.2.9-1\ext
(3) Copy <WSF_PHP>\wsf_c to <wamp>\bin
(4) edit <wamp>\bin\apache\apache2.2.11\bin\php.ini and give

[wsf]
wsf.home="C:\wamp\bin\wsf_c"
wsf.log_path="C:\wamp\logs"
wsf.rm_db_dir="C:\wamp\bin\wsf_c\bin"
wsf.log_level=4

extension=wsf.dll
extension=php_xsl.dll
extension=php_mssql.dll
extension=php_pdo_mssql.dll

(5) edit <wamp>\bin\apache\apache2.2.11\bin\php.ini do the following
- enable include_path = "C:\wamp\scripts" (change the path accordingly)
- disable warnings from php (error_reporting = E_ERROR & ~E_NOTICE)
- Increase the max_execution_time to 100.

(6) change the listen port of <wamp>\bin\apache\apache2.2.11\conf\httpd.conf
to 8080
(7) copy libxml2-2.6.30.win32\bin\* iconv-1.9.2.win32\bin\* to
<wamp>\bin\apache\apache2.2.11\bin\
(8) copy ntwdblib.dll (which can be downloaded from
http://www.userscape.com/ntwdblib.dll) to <WAMP>\bin\apache\Apache2.2.11\bin
(9) Copy php_stocktrader to <wamp>\www
(10) Set PATH variable (system path) to <wamp>\bin\wsf_c\lib
(11) restart the machine (WAMP seems to be not taking any new path without
restarting the machine. Even restarting the WAMP is not working )

I have uploaded the modifications in http://ww2.wso2.org/~shankar/wamp.zip ,
so that you can just unzip it and copy the contents to your WAMP locations.
(I installed in c:\WAMP, so path in configuration files point to that
locations. If you installed in some other locations, it might be a problem
to just copy it).

Also, you can just browse through the modifications in
http://ww2.wso2.org/~shankar/wamp/

Please let us know if there are any issues.

Regards,
Shankar

-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

Reply via email to