User login

Installing WSO2 WSF/PHP with XAMPP on Linux

Forums :

Hello.

I found great tutorial to install WSF\PHP with XAMPP in Windows but unfortunately there is no tutorial to install it under XAMPP in Linux.
i used xampp to install eveyrthing  with one "click" on Fedora 6 (with installed libxml2, openssl) and also installed WSF/PHP from rpm (rpm -i wso2-wsf-php-xyz.rpm)
But now i have problem  configuring WSF with PHP 5.2.5.

i copied all files from default installation path ".:/usr/lib/php/modules" to "/opt/lampp/modules".
I received error "PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/wso.so' - /opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/wso.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: wsf: Unable to initialize module"

So i copied "wsf.so" to '/opt/lampp/lib/php/extensions/no-debug-non-zts-20060613/wso.so'

php.ini  looks so:

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;; [wsf]
extension=wsf.so
wsf.home="/opt/lampp/modules/wsf_c"
wsf.log_path="/tmp"
wsf.rm_db_dir="/tmp"
 

But now i receive error:
PHP Warning:  PHP Startup: wsf: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
 

Can someone help me with this problem?

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Installing WSO2 WSF/PHP on XAMPP on Linux

Hi pash,

Your problem happens because the WSF/PHP rmp is compiled with an older version of PHP and you have a newer version of PHP. I guess you will have to install from the source.

Regards

Nandika

 

 

 

Can u write what version of

ok,thank you.

i tried to install php separately and everything was installed and i didn't receive any error on apache start.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.