Published on WSO2 Oxygen Tank (http://wso2.org)

Installing WSO2 WSF/PHP with XAMPP on Linux

By pash
Created 2008-05-07 03:04

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?

 


Source URL:
http://wso2.org/forum/thread/3554