News:

Wondering if this will always be free?  See why free is better.

Main Menu

Spell Check [Merged]

Started by Senkusha, March 15, 2004, 11:26:56 AM

Previous topic - Next topic

MrCue

Quoteaspell-15.dll and pspell-15.dll to c:\windows\system32 and c:\php4\extensions
Hmm, mine are in the same folder as my PHP.exe file.
and php_pspell.dll is in my extensions dir.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

Senkusha

I copied aspell and pspell.dll to my php4 dir, and php_pspell.dll to my extensions dir.  Still no luck.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

[Unknown]

Step 1: install Aspell. (http://aspell.net/win32/files/Aspell-0-50-3-3-Setup.exe)
Step 2: insall English. (http://aspell.net/win32/files/Aspell-en-0.50-2-3.exe)
Step 3: copy aspell-15.dll and pspell-15.dll into WINDOWS.
Step 4: (I already had php_pspell.dll, you can get it from the zip distribution.)
Step 5: php.ini, find: ;extension=php_pspell.dll replace: extension=php_pspell.dll
Step 6: net stop w3svc & net start w3svc (or apache if you aren't using IIS.)
Step 7: got the error, changed line endings...

I am also getting the same error, Windows 2003 Server.  In ISAPI mode.  Are you still using CGI?  Does it work in SAPI?

-[Unknown]

Senkusha

This might be a dumb question, but how can I tell which version of PHP I'm running?  (CGI or SAPI?)
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

[Unknown]

<?php

echo php_sapi_name();

?>

-[Unknown]

MrCue

Yes it works in sapi mode.
If you need to see something let me know. Im not sure why it works myself.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

Senkusha

[Unknown], If that script responds "apache", then does that mean that I'm running sapi mode?
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

[Unknown]

Quote from: Ayeka on March 21, 2004, 08:37:53 PM
[Unknown], If that script responds "apache", then does that mean that I'm running sapi mode?

Yes, otherwise it would say "cgi"....

I'm not sure what's wrong, but at least we know *we* aren't crazy.  Not so sure about MrCue over there... :P.

-[Unknown]

MrCue

Is there anything i can show you that will help you work out what im doing differently?
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

[Unknown]

Did you do anything to configure aspell?  aspell config or something?

-[Unknown]

MrCue

#70
Nope.

Oh, and its not just random good luck either. Ive had two computer failures in the past 3 or 4 days resulting in complete re-installs.

Apell installed in
F:\Program Files\Aspell

PHP.ini

extension_dir = e:/Apache2/php/extensions
...
extension=php_pspell.dll


httpd.conf
LoadModule php4_module "E:/Apache2/php/sapi/php4apache2.dll"

PHP dir
aspell-15.dll
pspell-15.dll

Extensions Dir
php_pspell.dll

System32 Dir
aspell-15.dll
php4apache2.dll
pspell-15.dll

I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

[Unknown]

Don't worry, I don't really think you're insane.  Rather, I know I'm insane.

Maybe it doesn't work with IIS?  It just can't find the dictionaries...

-[Unknown]

MrCue

Tested with IIS 5.1 on XP Pro SP1 ISAPI version of PHP 4.3.4, Pspell Works. Exact same config as with Apache.
Oh, and Short URL's work too.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

[Unknown]

Quote from: MrCue on March 21, 2004, 09:46:13 PM
Oh, and Short URL's work too.

Unless I'm understanding you wrong, why wouldn't they?  You don't mean "Queryless URLs", right?  Short URLs are just not full absolute links.

Hmm... well, I'm using IIS 6.  Perhaps I need to add the pspell dlls as allowed, or something?  Except I shouldn't have to.

-[Unknown]

MrCue

Sorry, i was tired last night, queryless urls dont work with IIS.
I assumed since i didnt turn them off they were working.
I dont know how that IIS thingy works so i couldnt tell you what to do.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

Senkusha

MrCue,
I wonder if ServerRoot may have anything to do with this.  I noticed that your PHP directory was under your Apache directory.   Is your ServerRoot=E:/apache?

My configuration states that ServerRoot=C:/Inetpub/wwwroot
Apache is installed at C:/apache/apache, and PHP4 is installed at C:/php4.

Also, does it matter what order the extensions are placed in the INI file?  (Mine is in alphabetical order).

Also I did notice that you have php4apache.dll in you windows/system32 directory. I did not.  I tried this, but still no luck.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

MrCue

I wouldnt think that the location of PHP mattered nor the server root.

php4apache2.dll is in my system32 dir so that i can run PHP in ISAPI mode under apache2.
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

[Unknown]

What do you have HOME set to?

-[Unknown]

MrCue

local path under home?
E:\apache\wwwroot
I am neither a Pessimist nor an Optimist, Just a Realist.

Eve-Online Forum | View Latest Eve-Online Kills | Site Map | SMF Installation

[Unknown]

No, I mean the HOME variable.  I noticed that I only have a per-user one set to me, perhaps it's a permissions issue.  (personal dictionaries, etc.)

Example, I have mine set to %USERPROFILE%.

-[Unknown]

Advertisement: