Aspell is deprecated in favor of Pspell in PHP so using it is a bad idea. But you can do this to get Pspell going:
a) On either the JTL box or on some other one with the same operating system, get the php source and get ready to compile. http://www.php.net/downloads b) Be sure the appropriate libraries are available as per the instructions found here: http://www.php.net/pspell c) Configure PHP like so: ./configure --with-apxs --with-pspell=shared d) Then build it: make e) This will then create the module which will exist in: yourphpsourcedir/modules/pspell.so f) Copy this file somewhere on your web server and in the php script load it with dl() like so: dl('pspell.so'); Easier said then done I know but the above is a possibility ;) You may want to ask them if they could create this .so so that clients can load it dynamically, that would be ideal. Regards, Philip Olson On Sun, 22 Dec 2002, Tony Earnshaw wrote: > > I have a site hosted at JTL Networks, and I'm looking into setting up > > a spell checker for my message boards. The problem is, JTL doesn't have > > pspell compiled in with their php build, and it may be some time before > > they do (if they ever do). Does anyone know of a way to include > > something like pspell support in php dynamically? Like by using a > > .htaccess file to call it or something? > > At the last count (Apache 1.3.27/PHP4.2.3), aspell doesn't get compiled into > PHP. It just sits in /usr/bin on RH Linux, at least.. > > The bad news is, that your code will have to be written for it. The good news > is, that you can cheese the code off Horde's Imp. > > Best, > > Tony > > -- > > When all's said and done, there's nothing left to say or do ... > http://www.billy.demon.nl > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php