Page 1 of 1

how to get php_pspell.dll to work

Posted: Wed Jul 18, 2007 1:28 pm
by jasongr
Hi people,

I have PHP working fine on Apache.
I decided that I want to start using php_pspell.dll.
I downloaded the dll file that matches my php version (5.2.1)
I put the dll in both c:\php\ext\, c:\windows\system32\ and even under c:\windows
I modified php.ini and added the following line: extension=php_pspell.dll

I restarted apache, but wasn't able to get serving of PHP files from the web server.
I noticed the following error in the apache's log file: "Premature end of script headers: phpinfo.php"
phpinfo.php was the page I was trying to serve at that time.

I then tried to serve phpinfo.php using php.exe
This worked fine, and I got the output right to the screen, however, there was no reference to php_pspell in the output.

When I put the extension=php_pspell.dll line in comment in php.ini and restart apache,
then PHP files get served by the web server successfully.

Does anyone have any suggestions?

Thanks in advance
Jason

Posted: Wed Jul 18, 2007 1:32 pm
by stereofrog
Do you have aspell installed?

Posted: Wed Jul 18, 2007 1:35 pm
by jasongr
Yes, I forgot to mention that.
I also installed ispell.
Different languages require different spell checkers

Posted: Wed Jul 18, 2007 1:40 pm
by stereofrog
pspell requires aspell, not ispell

http://aspell.net/win32/