ID: 14457
Updated by: vlad
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Pspell related
Operating System: Linux 2.4.7 (RH7.2)
PHP Version: 4.1.0
New Comment:
It is strange it even compiled.
Are you sure that pspell is installed in
--with-pspell=/usr/local/share
and not in
--with-pspell=/usr/local
???
(e.g. do you have a directory
/usr/local/include/pspell
or
/usr/local/share/include/pspell
if the former, you probably need to recompile PHP specifying the right directory)
Do you have a configure line for your 4.0.6 installation to compare against?
Previous Comments:
------------------------------------------------------------------------
[2001-12-12 09:09:56] [EMAIL PROTECTED]
'./configure' '--with-mysql=/usr/local/mysql' '--with-apxs' '--enable-wddx'
'--with-sablot' '--with-pspell=/usr/local/share' '--enable-force-cgi-redirect'
'--with-gettext '--with-ldap'
Worked in 4.0.6 but not in 4.1.0
Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any
suitable word lists for the language-tag "en".
$pspell_link = pspell_new ("en");
if (!pspell_check ($pspell_link, "testt")) {
$suggestions = pspell_suggest ($pspell_link, "testt");
foreach ($suggestions as $suggestion) {
echo "Possible spelling: $suggestion<br>";
}
}
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14457&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]