On Fri, Mar 6, 2009 at 3:16 PM, Zhou Xiang <firstname.lastname@example.org> wrote:
> Can you tell me what you did exactly? I appreciate your help!
Firstly, in your emails you stated that you installed swish-0.3.0,
which is from PECL, but the script you posted is from swish-e.org SVN.
The PECL swish extension is not the swish_php extension from
swish-e.org. The PECL extension is written by the PHP guys themselves
and implements _only_ a PHP class based on our libswish-e library
interface. The swish_php extension from swish-e.org implements both a
class and functions. You can't use our scripts with their extension
What I did was retrieve the swish_php module from swish-e.org using
svn and did the following on my ubuntu system (assuming you have a
full build environment):
$ svn co http://svn.swish-e.org/swish_php
$ sudo apt-get install php5-dev swish-e swish-e-dev
$ pushd swish_php
$ ./configure --with-swishe=/usr
$ sudo make install
Then, for production use, edit apache's php.ini to load the module
[extension=swish.so] and restart the web server (an apache reload
doesn't notice php.ini changes).
David L Norris
Users mailing list
Received on Fri Mar 6 17:36:56 2009