ID: 47864
Updated by: [email protected]
Reported By: todd at magnifisites dot com
-Status: Open
+Status: Bogus
Bug Type: Pspell related
Operating System: Windows
PHP Version: 5.2.9
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Bug in pspell library, we won't be able to fix.
Previous Comments:
------------------------------------------------------------------------
[2009-04-01 15:12:45] todd at magnifisites dot com
Description:
------------
The latest version of the bundled aspell-15.dll in the PHP Windows
distribution (versions > 5.2.6, including latest 5.2.9.9) fails with an
Application error code "faulting module aspell-15.dll" when attempting
to use pspell functions.
Reproduce code:
---------------
<?php
$pspell_link = pspell_new("en");
if (pspell_check($pspell_link, "testt")) {
echo "This is a valid spelling";
} else {
echo "Sorry, wrong spelling";
}
?>
Expected result:
----------------
On PHP 5.2.6 and earlier installations the result is:
Sorry, wrong spelling
The same output is expected.
Actual result:
--------------
The latest version of the bundled aspell-15.dll in the PHP Windows
distribution (versions > 5.2.6, including latest 5.2.9.9) fails with the
following Application error code when executing a script via the Apache
http server (here we are using Apache 2.2.8.0, but can be reproduced on
later versions of Apache as well, see notes below):
Faulting application httpd.exe, version 2.2.8.0, faulting module
aspell-15.dll, version 0.0.0.0, fault address 0x0008cef6.
I tested this on Apache 2.2.10.0 and PHP 5.2.8 for Windows with the
same results.
Running a script from the command line:
php -f pspell.php
returns a similar error:
Faulting application php.exe, version 5.2.9.9, faulting module
aspell-15.dll, version 0.0.0.0, fault address 0x0008cef2.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47864&edit=1