RE: pspell problem in win32

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



Gary,

Check out
http://uk.php.net/pspell, hopefully you already have.  Have you made sure the file aspell-15.dll is in your system path? You could add the aspell bin subdirectory to your Windows System Path or copy this file to C:\WINDOWS

I would try one of these two options, restart IIS or at least your website itself (not 100% familiar with IIS 5 only 6).

Andy Stratton, ZCE
COMPASS Information Systems, Inc.
1756 Belle Court
Millersville, MD 21108
(410) 923-6300 Office
(410) 923-2820 Fax
(443) 623-6835 Mobile

-------- Original Message --------
Subject: pspell problem in win32
From: "Gary Wardell" <gwardell@xxxxxxxxxxxxxxx>
Date: Sun, November 11, 2007 9:05 am
To: <php-install@xxxxxxxxxxxxx>

Hi,

I seem to be having a problem getting pspell to work.

I am running the following test script:

<?php
$pspell_link = pspell_new("en");

if (pspell_check($pspell_link, "testt")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
?>

And I get this error:

Fatal error: Call to undefined function pspell_new() in
D:\InetPub\wwwroot\Spell.php on line 2

I have installed Aspell-0-50-3-3-Setup.exe and Aspell-en-0.50-2-3.exe and
tested that installation successfully.

PHP seems to be running fine otherwise (I'm using it for _expression_ Engine).

I'm using the prebuilt Windows binaries in all cases.

My configuration is:

Aspell 0.50.3
PHP Version 5.2.5 installed as an ISAPI extension
Windows 2000 Server sp 4 with IIS 5

The IIS anonymous user account has access to both PHP and the aspell
directory .

Gary

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux