Install WSF/PHP 1.2.1 with zend core in Ubuntu 7.10

Monday, March 17, 2008

1. Download the zend core for your linux, using the following link http://www.zend.com/en/products/core/downloads

2. unzip the installation and run the install script, I used the following command to install it,
sudo ./install -n

3. Now download the relevant wso2 wsf/php deb for the zend core for your os,
from http://dist.wso2.org/products/wsf/php/1.2.1/wso2-wsf-php-1.2.1-ubuntu-7.10-zc.deb

4. You can install the wso2/wsf php by running
dpkg -i wso2-wsf-php-1.2.1-ubuntu-7.10-zc.deb

4. you have to enable xsl extension for php manually editing the php.ini, /usr/local/Zend/Core/etc/php.ini
add the following line to the php.ini,

extension=xsl.so

5. And add the the /usr/local/Zend/Core/lib/php/20060613/wsf_php/scripts directory to the include_path directive of the php.ini

include_path= ".:/usr/local/Zend/Core/lib/php/20060613/wsf_php/scripts"

6. Then copy the /usr/local/Zend/Core/lib/php/20060613/wsf_php/samples directory to the /usr/local/Zend/apache2/htdocs

sudo cp /usr/local/Zend/Core/lib/php/20060613/wsf_php/samples /usr/local/Zend/apache2/htdocs

7. Restart the apache,
/usr/local/Zed/apache2/bin/apachctl restart.

8. Again that's all, open the browser and type http://localhost/samples and click on each link for samples.

9. You have successfully install the wsf/php with Zend Core in Ubuntu 7.10.

1 comments:

Sweety said...

Nice post on Zend Core & Ubuntu 7.10. I was looking for information you shared.... thanks...

dot net web services