how to get php_pspell.dll to work

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jasongr
Forum Contributor
Posts: 206
Joined: Tue Jul 27, 2004 6:19 am

how to get php_pspell.dll to work

Post 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
User avatar
stereofrog
Forum Contributor
Posts: 386
Joined: Mon Dec 04, 2006 6:10 am

Post by stereofrog »

Do you have aspell installed?
jasongr
Forum Contributor
Posts: 206
Joined: Tue Jul 27, 2004 6:19 am

Post by jasongr »

Yes, I forgot to mention that.
I also installed ispell.
Different languages require different spell checkers
User avatar
stereofrog
Forum Contributor
Posts: 386
Joined: Mon Dec 04, 2006 6:10 am

Post by stereofrog »

pspell requires aspell, not ispell

http://aspell.net/win32/
Post Reply