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,
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
I'm needing it for Debian
Thanks Sanjaya,
I'm needing it for Debian, I think is the same procedure...
Felipe Costa
This would be great
Hi Sanjaya,
This would be great as it would take away some of the headache.
thanks
Any news on this yet?
Any news on this yet? :-)
I guess there is still no news??
I guess there is still no news??
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
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.