SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict jasongr's Avatar
    Join Date
    Jul 2004
    Location
    usa
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting php_pspell.dll to work

    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

  2. #2
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    Did you notice this dependecy?

    Quote Originally Posted by manual:pspell
    This extension requires the following files to be in the PATH: aspell-15.dll from the bin folder of the aspell installation.
    www.php.net/pspell


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •