Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2005
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with pspell_new() function of PHP

    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

  • #2
    Regular Coder
    Join Date
    May 2005
    Posts
    563
    Thanks
    0
    Thanked 3 Times in 3 Posts
    pspell is an addon to php isn't it? You have to get a library or module for it.

    That is my guess anyway.

  • #3
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    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).

  • #4
    New Coder
    Join Date
    Apr 2005
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts
    how to compile PHP with aspell library????

  • #5
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,979
    Thanks
    4
    Thanked 2,659 Times in 2,628 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •