Installing WSO/PHP on Ubuntu

tomcat's picture

I like to install WSO/PHP on my ubuntu(fiesty) machine. I have looked at the manual and it says that I should install the developer version of the php and then install both libxml and openSSL. As I am little shaky on installing and compiling packages on ubuntu, I like to know if anybody has a set instructions (i.e. apt-get ...) for installing the php and other libraries on ubuntu.

thanks,

sanjaya's picture

Re: Installing WSO2 WSF/PHP on Ubuntu

I'm working on creating a apt-repo for WSO2 WSF/PHP, will host it within next few days. (hopefully this week).

Thanks

 

    ~sanjaya

fsc7's picture

I'm needing it for Debian

Thanks Sanjaya,

I'm needing it for Debian,  I think is the same procedure...

Felipe Costa

tomcat's picture

This would be great

Hi Sanjaya,

This would be great as it would take away some of the headache.

thanks

tomcat's picture

Any news on this yet?

Any news on this yet? :-)

tomcat's picture

I guess there is still no news??

I guess there is still no news??

matt.mcaughan's picture

Installing WS02 WSF/PHP on Ubuntu

Going from memory so this may not be entirely correct, but this should get you 95% of the way...

apt-get install apache2 php5 libapache2-mod-php5
apt-get install libxml2 libxml2-dev

cd /usr/src
wget http://dist.wso2.org/products/wsf/php/2.0.0/wso2-wsf-php-src-2.0.0.tar.gz
tar -xzvf wso2-wsf-php-src-2.0.0.tar.gz

./configure
make
make install

nano /etc/php5/apache2/php.ini

include_path = ".:/usr/share/php:/usr/lib/php5/20060613+lfs/wsf_c/scripts"
extension=wsf.so
extension=xsl.so

[wsf]
wsf.home="/usr/lib/php5/20060613+lfs/wsf_c"
wsf.log_level=3
wsf.log_path="/tmp"
wsf.rm_db_dir="/tmp"

cp -rf /usr/src/wso2-wsf-php-src-2.0.0/samples /var/www

/etc/init.d/apache2 restart

mkultra's picture

scripts folder

I was getting this error
WSService::reply(wsf.php) [wsservice.reply]: failed to open stream: No such file or directory in /var/www/samples/fault_service.php on line 26

The reason was that the scripts folder was not copied from the source dir to /usr/lib/php5/20060613+lfs/wsf_c/scripts

I copied the dir and then it worked fine.

Hot Topic
Hot
Topic

With the release of the 3.5 version of the Registry, it features a WS API that allows users to conduct registry operations through simple SOAP requests. The opening up of this channel makes the Registry useful in a number of possible ways. Also, it introduces some best...

Latest Webinar
Sumedha Rubasinghe, an Architect and Product Manager of WSO2 will explain you how to create your own web applications using WSO2 Cloud platform, WSO2 Stratos.
Wednesday, August 4, 10.00 AM (PDT)

Wednesday, August 4, 9.00 AM (GMT)