aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Aspell-user] Integrate aspell with PHP


From: Pankil Shah
Subject: [Aspell-user] Integrate aspell with PHP
Date: Mon, 19 May 2008 18:09:19 +0530

Greetings All,

 

I am on a production system. The machine is RHEL 4 update 3. It has PHP (5.8.3) pre-configured with Dynamic Shared Object support enabled.

Now the problem is I want to integrate the aspell (pspell) package with PHP so that aspell is available to PHP. This is required to enable spell checker for a web-site.

 

The problem I am facing is that it seems it is not possible to build aspell with DSO capabilities so that I can configure PHP (httpd.conf) to load the module dynamically when the PHP engine starts.

 

I saw few posts on the net, but all of them suggested re-building PHP with option --with-pspell=shared,/path/to/pspell, but since I am on a production system this does not seem to be feasible solution.
 
I was able to build aspell with option –enable-shared and it successfully built the aspell package (with pspell interface). But I was not successfully able to Load it in the Apache as I could not find the Module-Name which this shared object exposed.
 
Is this the correct approach to integrate aspell with PHP?
 
I heard of using apxs tool for installing extension modules to Apache. Can aspell be build using this tool as described at http://httpd.apache.org/docs/1.3/programs/apxs.html
 
Any help in this regard will be appreciated.
 
 
Regards,
Pankil
P.S. I searched the mailing-list but could not find anything substantial. If there is already a thread answering my queries, a link to it would also suffice.

DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]