note 73877 added to ref.pspell
| From: | AlanDunsmuir | Date: | Wed, 14 Mar 2007 09:28:30 +0000 |
| Subject: | note 73877 added to ref.pspell | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124433@lists.php.net to get a copy of this message | ||
There appears to be a problem currently affecting PSpell functionality on Windows machines.
Currently, the compiled build of PHP5 for Windows does not by default include PSpell, and to
activate these functions the Windows user has to (a) install GNU ASpell; (b) copy the file
aspell-15.dll to a directory in the Windows "Path" statement (typically
C:\Windows\System32); (c) install one or more ASpell dictionaries; (d) enable the PSpell extension
to PHP by adding a reference to php_pspell.dll in the php.ini file, and moving the file itself to
the main PHP directory.
However, when this has all been done and PSpell appears to have been fully activated, there remains
a problem. While all the PSpell functions work as specified when referenced from the
"main" body of PHP code, if they are placed within a PHP function, the system reports that
it is unable to find any word lists for the specified dictionary (whichever one is chosen).
I have a sample of PSpell-using code (taken from the SAMS book PHP 5 In Practice) which works
perfectly on a Unix-based Web Server, but which fails with the indicated error message on a range of
Windows machines.
----
Server IP: 194.145.210.3
Probable Submitter: 80.177.112.227
----
Manual Page -- http://www.php.net/manual/en/ref.pspell.php
Edit -- https://master.php.net/note/edit/73877
Del: integrated -- https://master.php.net/note/delete/73877/integrated
Del: useless -- https://master.php.net/note/delete/73877/useless
Del: bad code -- https://master.php.net/note/delete/73877/bad+code
Del: spam -- https://master.php.net/note/delete/73877/spam
Del: non-english -- https://master.php.net/note/delete/73877/non-english
Del: in docs -- https://master.php.net/note/delete/73877/in+docs
Del: other reasons-- https://master.php.net/note/delete/73877
Reject -- https://master.php.net/note/reject/73877
Search -- https://master.php.net/manage/user-notes.php