note 89677 added to pspell.installation
| From: | juliusdavies at gmail dot com | Date: | Thu, 19 Mar 2009 00:06:27 +0000 |
| Subject: | note 89677 added to pspell.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152116@lists.php.net to get a copy of this message | ||
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).
----
Server IP: 69.147.83.197
Probable Submitter: 24.68.128.251
----
Manual Page -- http://www.php.net/manual/en/pspell.installation.php
Edit -- https://master.php.net/note/edit/89677
Del: integrated -- https://master.php.net/note/delete/89677/integrated
Del: useless -- https://master.php.net/note/delete/89677/useless
Del: bad code -- https://master.php.net/note/delete/89677/bad+code
Del: spam -- https://master.php.net/note/delete/89677/spam
Del: non-english -- https://master.php.net/note/delete/89677/non-english
Del: in docs -- https://master.php.net/note/delete/89677/in+docs
Del: other reasons-- https://master.php.net/note/delete/89677
Reject -- https://master.php.net/note/reject/89677
Search -- https://master.php.net/manage/user-notes.php