PHP 8.1.28 Released!

Instalación

Si tiene las bibliotecas necesarias añada la opción --with-pspell[=dir] al compilar PHP.

Nota: Nota para los usuarios de Win32

Para que esta extensión funcione, hay unos ficheros DLL que deben estar disponibles en el PATH del sistema de Windows. Para obtener más información sobre esto, vea la FAQ titulada "Como añadir mi directorio de PHP al PATH de Windows". Aunque copiar los ficheros DLL desde el directorio PHP al directorio del sistema de Windows también funciona (porque el directorio del sistema está de manera predeterminada en el PATH del sistema), no se recomienda. Esta extensión requiere que los siguientes ficheros esten en el PATH: aspell-15.dll de la carpeta bin de la instalación de aspell.

El soporte para Win32 está disponible sólo en PHP 4.3.3 y versiones posteriores. También se requiere al menos la versión 0.50 de aspell.

add a note

User Contributed Notes 2 notes

up
0
chapman at wtinds dot com
4 years ago
If you are compiling v7.3.x under CentOS 8, you will need to first enable PowerTools, then install aspell-devel - otherwise aspell-devel will not be available to you:

sudo dnf config-manager --set-enabled PowerTools
sudo dnf install -y aspell-devel

Then in your configure line, just use:

--with-pspell

NOT

--with-pspell=/some/dir
up
-16
juliusdavies at gmail dot com
15 years ago
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).
To Top