Aspell + PHP + Windows was giving me just crazy crashes with this simple test file:
<?php
$pspell_link = pspell_new("en");
?>
Running "php -f test.php" directly from a DOS prompt shed some light:
----------------
The file "C:\Program Files\Aspell\data/iso8859-1.dat" can not be opened for reading.pell\dict/en-only.rws:
----------------
To fix it I needed to "dos2unix" all the files in Aspell's C:\Program Files\Aspell\data\ directory. (Convert them from CRLF to just LF line endings).
Installation
اگر کتابخانههای مورد نیاز را دارید از گزینه --with-pspell[=dir] هنگام کامپایل PHP استفاده کنید.
Note: نکته برای کاربران Win32
In order for this extension to work, there are DLL files that must be available to the Windows system PATH. For information on how to do this, see the FAQ entitled "How do I add my PHP directory to the PATH on Windows". Although copying DLL files from the PHP folder into the Windows system directory also works (because the system directory is by default in the system's PATH), this is not recommended. This extension requires the following files to be in the PATH: aspell-15.dll از پوشه bin در نصب aspell.
Win32 تنها PHP 4.3.3 و نسخههای بالاتر پشتیبانی میشود. همچنین آخرین نسخهaspell version 0.50 مورد نیاز است.
