RE: [PHP-INSTALL] pspell problem in win32
| From: | astratton at compassinfo dot net | Date: | Sun, 11 Nov 2007 18:12:00 +0000 |
| Subject: | RE: [PHP-INSTALL] pspell problem in win32 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18352@lists.php.net to get a copy of this message | ||
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:\WINDOWSI 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: [PHP-INSTALL] pspell problem in win32
From: "Gary Wardell" <gwardell@gwsystems.co.il>
Date: Sun, November 11, 2007 9:05 am
To: <php-install@lists.php.net>
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