问题
I can't seem to get this extension working on Windows Server 2003 using PHP 5.4.12. Here are the steps I have taken -
- Installed the extension from the website - http://jquery-spellchecker.badsyntax.co/downloads.html
- Installed pspell (aspell) from the http://aspell.net/win32/ website
- copied both apsell-15.dll and pspell-15.dll from the install directory (c:\Program Files (x86)\Aspell\Bin) to the C:\wamp\bin\apache\Apache2.4.4\bin directory and to the C:\WINDOWS\system32 directory. Also copied pspell-15.dll to the C:\wamp\bin\php\php5.4.12\ext directory.
- uncommented out extension=pspell-15.dll line from the php.ini file (having renamed it from php_pspell.dll to pspell-15.dll so it can find the extention).
- stopped and started the services
Running 'php -f test.php' from a command prompt results in this error "PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.4.12/ext/pspell-15.dll' - %1 is not a valid Win32 application". None of the jquery-spellchecker sample files work - all fail with a non-descript "There was an error processing the request." popup.
Any help would be appreciated. Thank you...
来源:https://stackoverflow.com/questions/25413421/jquery-spellchecker-badsyntax-examples-not-working-in-wamp