You need the aspell and pspell libraries , available from http : / /aspell.sourceforge.net / and http : / /aspell.net / respectively , and add the --with-pspell[ =dir ] option when compiling php .