...

Problem with pspell_new() function of PHP

jeephp
07-02-2005, 02:07 PM
hi,
I am using pspell_new() of PHP, but when I try to open the php page in browser it shows

Fatal error: Call to undefined function: pspell_new()
Though it is a PHP in build function. I had already given ext=php_pspell.dll in PHP.ini

My extension folder name is 'c:\php\ext' & I have applied the same in the directive extension_dir =

c:\php\ext in the php.ini file

Does anybody know why pspell_new() is not working or can throw some insight on this issue.

Thanks
Dhaval

SeeIT Solutions
07-02-2005, 02:14 PM
pspell is an addon to php isn't it? You have to get a library or module for it.

That is my guess anyway.

Fou-Lu
07-02-2005, 03:15 PM
Yes, pspell functions are not in build with php.
You need to compile your php with aspell library. I believe this library is included with your php package though, so its a simple task to do.

Move aspell-15.dll to your SYSTEM32 folder. Your good to go. (Restart your apache).

jeephp
07-02-2005, 03:20 PM
how to compile PHP with aspell library????

Fou-Lu
07-02-2005, 03:32 PM
http://ca.php.net/manual/en/ref.pspell.php

This link contains the link to the aspell library. Sorry, I thought it was bundled.
It also contains documentation for the addition of the library.
Hope that helps!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum