How to install WSO2 WSF/PHP on SUSE Linux

Share

If you need to install the WSF/PHP extension on a SUSE Linux with GCC 4.1.2 (pretty old) and receive some strange errors with missing libraries (even if you think / see they are there and even if you followed a la lettre the documentation) you may try the following approach:

  • 0 – extract the sources somewhere on the disk (let’s name it WSFPHP for /usr/local/src/wso2-wsf-php-src-2.0.0)
  • 1 -define the WSFC_HOME to the location where the wsf_c will be install (/opt/wso2/wsf_c in our case)
  • 2 – export WSFC_HOME
  • 3 – cd into wsf_c from the WSFPHP
  • 4 – configure –prefix=${WSFC_HOME}
  • 5 – make
  • 6 – make install
  • 7 – cd into main folder WSFPHP
  • 8 – repeat 4-6
  • 9 – copy ${WSFPHP}/scripts folder into ${WSFC_HOME}/scripts
  • 10 – configure the relevant php.ini as in the manual
  • 11 – make sure the include_path in php.ini includes the ${WSFC_HOME}/scripts folder
  • 12 – make sure the open_basedir from php configuration section in http/vhost includes the ${WSFC_HOME} folder
  • 13 – restart/reload apache and test

Why all these steps? As far as I’ve investigated there is a problem with the libtool which tries to be too smart and takes the libraries from various (and wrong) places. But if you install first the wsf_c and compile the WSF/PHP in a second step then these strange behavior does not appears…

The steps are a compilation of information from:
${WSFPHP}/wsf_c/INSTALL
${WSFPHP}/README.INSTALL
http://wso2.org/forum/thread/4854
http://wso2.org/forum/thread/3842

Finally, there’s another very important peculiarity of what does Cialis that brings it so high above its alternatives. It is the only med that is available in two versions – one intended for use on as-needed basis and one intended for daily use. As you might know, Viagra and Levitra only come in the latter of these two forms and should be consumed shortly before expected sexual activity to ensure best effect. Daily Cialis, in its turn, contains low doses of Tadalafil, which allows to build its concentration up in your system gradually over time and maintain it on acceptable levels, which, consequently, makes it possible for you to enjoy sex at any moment without having to time it.

By continuing to use the site, you agree to the use of cookies. More information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close