Hi Andy,

Thanks, that did it.

I had looked at that on the php.net site (not UK)  Not sure if the same 
comments are on both sites but it did get me to read it
again.  I had missed putting the entry in the ini file.

Now I seems to work OK and phpinfo and the EE wizard find it.  And my sample 
script works.

One question.  The PHP install instructions say to put all of the files in a 
PHP directory, but PHP doesn't seem to find the
php.ini file there.  It seems I have to put the ini file in the WinNT 
directory, even though the PHP directory is in the path
environment variable?

Gary

 -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sun, November 11, 2007 1:12 PM
To: Gary Wardell
Cc: php-install@lists.php.net
Subject: RE: [PHP-INSTALL] pspell problem in win32


  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: [PHP-INSTALL] pspell problem in win32
    From: "Gary Wardell" <[EMAIL PROTECTED]>
    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

Reply via email to