If you have the libraries needed add the --with-pspell[=dir] option when compiling PHP.
Note: Note to Win32 Users
为锟斤拷使锟斤拷锟斤拷展锟斤拷效锟斤拷 DLL 锟侥硷拷锟斤拷锟斤拷锟斤拷锟斤拷 Windows 系统锟斤拷 PATH 指示锟斤拷路锟斤拷锟斤拷锟揭碉拷锟斤拷锟斤拷尾锟斤拷锟斤拷锟斤拷锟较拷锟斤拷锟轿硷拷锟斤拷为"锟斤拷锟斤拷锟� Windows 锟叫斤拷 PHP 目录锟接碉拷 PATH 锟斤拷"锟斤拷FAQ锟斤拷锟斤拷然锟斤拷 DLL 锟侥硷拷锟斤拷 PHP 锟侥硷拷锟叫革拷锟狡碉拷 Windows 系统目录也锟叫o拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 锟斤拷锟斤拷展锟斤拷要锟斤拷锟斤拷锟侥硷拷锟斤拷 PATH 路锟斤拷锟叫o拷 aspell-15.dll from the bin folder of the aspell installation.
Win32 support is available only in PHP 4.3.3 and later versions. Also, at least aspell version 0.50 is required.